# #0c0e31 color: Spanish Roast

#0c0e31 is rgb(12, 14, 49) in RGB and oklch(18.821% 0.0683 275.209) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0c0e31

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c0e31 |
| RGB | rgb(12, 14, 49) |
| HSL | hsl(236.76, 60.66%, 11.96%) |
| HSB / HSV | hsv(236.76 75.51% 19.22%) |
| HWB | hwb(236.76 4.71% 80.78%) |
| CMYK | cmyk(76% 71% 0% 81%) |
| Lab | lab(5.26 8.35 -23.46) |
| LCH | lch(5.26 24.9 289.6) |
| OKLab | oklab(18.821% 0.0062 -0.06802) |
| OKLCH | oklch(18.821% 0.0683 275.209) |
| Display P3 | color(display-p3 0.04851 0.05465 0.18403) |
| Rec. 2020 | color(rec2020 0.02287 0.02089 0.1205) |
| Adobe RGB | color(a98-rgb 0.0801 0.08474 0.20188) |
| ProPhoto RGB | color(prophoto-rgb 0.06703 0.05304 0.13488) |
| Linear sRGB | color(srgb-linear 0.00368 0.00439 0.03071) |
| XYZ D65 | color(xyz-d65 0.00863 0.00614 0.02979) |
| XYZ D50 | color(xyz-d50 0.00769 0.00583 0.02241) |
| SwiftUI | Color(red: 0.047, green: 0.055, blue: 0.192) |
| UIKit | UIColor(red: 0.047, green: 0.055, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF0C0E31) |
| Android XML | #0C0E31 |

## Facts

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

## Tints

#0c0e31, #1e2344, #323857, #484e6b, #60657f, #787d93, #9296a8, #acafbd, #c7c9d3, #e3e4e9

## Shades

#0c0e31, #090b29, #060722, #04051a, #030313, #02020c, #010106, #000003, #000001, #000000

## Tones

#0c0e31, #0c0f2e, #0d102b, #0e1128, #0e1125, #0f1223, #101220, #11131d, #12131a, #121317

## Harmonies

- Complementary: #0c0e31, #1b1200
- Split: #0c0e31, #250b00, #0c1800
- Analogous: #0c0e31, #00142f, #1b082b
- Triadic: #0c0e31, #2b0400, #001b05
- Tetradic: #0c0e31, #24041f, #1b1200, #001b05
- Square: #0c0e31, #2a020f, #1b1200, #001a17
- Monochromatic: #0c0e31, #03011f, #03011f, #262c52, #444c75

## Questions about #0c0e31

### What color is #0c0e31?

#0c0e31 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 14, 49), in HSL hsl(236.76, 60.66%, 11.96%) and in OKLCH oklch(18.821% 0.0683 275.209).

### What colors go well with #0c0e31?

The complementary color of #0c0e31 is #1b1200. For a calmer combination use the analogous colors #00142f and #1b082b. The triadic partners are #2b0400 and #001b05.

### Is white or black text more readable on #0c0e31?

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

### Is #0c0e31 a warm or cool color?

#0c0e31 is a cool color. In OKLCH its hue is 275 degrees, its lightness 18.8% and its chroma 0.068.
