# #140c2f color: Spanish Roast

#140c2f is rgb(20, 12, 47) in RGB and oklch(18.99% 0.06671 288.952) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #140c2f |
| RGB | rgb(20, 12, 47) |
| HSL | hsl(253.71, 59.32%, 11.57%) |
| HSB / HSV | hsv(253.71 74.47% 18.43%) |
| HWB | hwb(253.71 4.71% 81.57%) |
| CMYK | cmyk(57% 74% 0% 82%) |
| Lab | lab(5.34 11.42 -21.8) |
| LCH | lch(5.34 24.61 297.66) |
| OKLab | oklab(18.99% 0.02167 -0.06309) |
| OKLCH | oklch(18.99% 0.06671 288.952) |
| Display P3 | color(display-p3 0.07363 0.04832 0.17657) |
| Rec. 2020 | color(rec2020 0.03074 0.01884 0.11306) |
| Adobe RGB | color(a98-rgb 0.09803 0.07816 0.19484) |
| ProPhoto RGB | color(prophoto-rgb 0.07263 0.0509 0.12925) |
| Linear sRGB | color(srgb-linear 0.007 0.00368 0.02843) |
| XYZ D65 | color(xyz-d65 0.00933 0.00617 0.02759) |
| XYZ D50 | color(xyz-d50 0.00853 0.00592 0.02075) |
| SwiftUI | Color(red: 0.078, green: 0.047, blue: 0.184) |
| UIKit | UIColor(red: 0.078, green: 0.047, blue: 0.184, alpha: 1) |
| Flutter / Compose | Color(0xFF140C2F) |
| Android XML | #140C2F |

## 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.69:1
- Contrast with black: 1.12:1

## Tints

#140c2f, #262142, #3a3655, #4f4d69, #66647d, #7e7c92, #9695a7, #afaebc, #c9c9d2, #e4e3e8

## Shades

#140c2f, #100927, #0c0620, #080419, #050312, #03020c, #010106, #010003, #000001, #000000

## Tones

#140c2f, #140d2c, #140e2a, #130f27, #131024, #131122, #13121f, #13121c, #131319, #141317

## Harmonies

- Complementary: #140c2f, #161500
- Split: #140c2f, #210f00, #021a00
- Analogous: #140c2f, #011231, #200726
- Triadic: #140c2f, #2a0700, #001c0f
- Tetradic: #140c2f, #280418, #161500, #001c0f
- Square: #140c2f, #2b0307, #161500, #001a1c
- Monochromatic: #140c2f, #07001d, #07001d, #302a50, #4f4972

## Questions about #140c2f

### What color is #140c2f?

#140c2f is soft very dark violet. The closest named color is Spanish Roast. In RGB it is rgb(20, 12, 47), in HSL hsl(253.71, 59.32%, 11.57%) and in OKLCH oklch(18.99% 0.06671 288.952).

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

The complementary color of #140c2f is #161500. For a calmer combination use the analogous colors #011231 and #200726. The triadic partners are #2a0700 and #001c0f.

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

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

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

#140c2f is a cool color. In OKLCH its hue is 289 degrees, its lightness 19% and its chroma 0.067.
