# #140c2e color: Spanish Roast

#140c2e is rgb(20, 12, 46) in RGB and oklch(18.893% 0.06508 289.514) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/140c2e

## Formats

| Format | Value |
| --- | --- |
| HEX | #140c2e |
| RGB | rgb(20, 12, 46) |
| HSL | hsl(254.12, 58.62%, 11.37%) |
| HSB / HSV | hsv(254.12 73.91% 18.04%) |
| HWB | hwb(254.12 4.71% 81.96%) |
| CMYK | cmyk(57% 74% 0% 82%) |
| Lab | lab(5.28 11.05 -21.15) |
| LCH | lch(5.28 23.86 297.58) |
| OKLab | oklab(18.893% 0.02174 -0.06134) |
| OKLCH | oklch(18.893% 0.06508 289.514) |
| Display P3 | color(display-p3 0.07363 0.04832 0.17283) |
| Rec. 2020 | color(rec2020 0.03052 0.01879 0.10937) |
| Adobe RGB | color(a98-rgb 0.09803 0.07816 0.19138) |
| ProPhoto RGB | color(prophoto-rgb 0.07192 0.05071 0.1265) |
| Linear sRGB | color(srgb-linear 0.007 0.00368 0.02732) |
| XYZ D65 | color(xyz-d65 0.00913 0.00609 0.02654) |
| XYZ D50 | color(xyz-d50 0.00838 0.00585 0.01996) |
| SwiftUI | Color(red: 0.078, green: 0.047, blue: 0.18) |
| UIKit | UIColor(red: 0.078, green: 0.047, blue: 0.18, alpha: 1) |
| Flutter / Compose | Color(0xFF140C2E) |
| Android XML | #140C2E |

## Facts

- Closest name: Spanish Roast
- Hue family: Violet, soft very dark violet
- Closest Tailwind class: slate-900
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 18.72:1
- Contrast with black: 1.12:1

## Tints

#140c2e, #262141, #3a3654, #504c68, #66647c, #7e7c91, #9695a6, #afaebc, #c9c9d2, #e4e3e8

## Shades

#140c2e, #100927, #0c061f, #080418, #050312, #03020b, #010106, #010002, #000001, #000000

## Tones

#140c2e, #140d2b, #140e29, #130f26, #131024, #131121, #13121e, #13121c, #131319, #131316

## Harmonies

- Complementary: #140c2e, #161500
- Split: #140c2e, #210f00, #021a00
- Analogous: #140c2e, #021230, #1f0725
- Triadic: #140c2e, #290700, #001b0f
- Tetradic: #140c2e, #270418, #161500, #001b0f
- Square: #140c2e, #2a0407, #161500, #001a1c
- Monochromatic: #140c2e, #07001c, #07001c, #302a4e, #4f4971

## Questions about #140c2e

### What color is #140c2e?

#140c2e is soft very dark violet. The closest named color is Spanish Roast. In RGB it is rgb(20, 12, 46), in HSL hsl(254.12, 58.62%, 11.37%) and in OKLCH oklch(18.893% 0.06508 289.514).

### What colors go well with #140c2e?

The complementary color of #140c2e is #161500. For a calmer combination use the analogous colors #021230 and #1f0725. The triadic partners are #290700 and #001b0f.

### Is white or black text more readable on #140c2e?

White text reads better on #140c2e: white gives a contrast ratio of 18.72:1 and black gives 1.12:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #140c2e a warm or cool color?

#140c2e is a cool color. In OKLCH its hue is 290 degrees, its lightness 18.9% and its chroma 0.065.
