# #0c1131 color: Spanish Roast

#0c1131 is rgb(12, 17, 49) in RGB and oklch(19.534% 0.06347 272.452) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1131 |
| RGB | rgb(12, 17, 49) |
| HSL | hsl(231.89, 60.66%, 11.96%) |
| HSB / HSV | hsv(231.89 75.51% 19.22%) |
| HWB | hwb(231.89 4.71% 80.78%) |
| CMYK | cmyk(76% 65% 0% 81%) |
| Lab | lab(6.05 6.85 -22.21) |
| LCH | lch(6.05 23.24 287.15) |
| OKLab | oklab(19.534% 0.00272 -0.06341) |
| OKLCH | oklch(19.534% 0.06347 272.452) |
| Display P3 | color(display-p3 0.05092 0.06609 0.18434) |
| Rec. 2020 | color(rec2020 0.02467 0.02591 0.12087) |
| Adobe RGB | color(a98-rgb 0.08327 0.09468 0.20203) |
| ProPhoto RGB | color(prophoto-rgb 0.06894 0.05896 0.13528) |
| Linear sRGB | color(srgb-linear 0.00368 0.00561 0.03071) |
| XYZ D65 | color(xyz-d65 0.00906 0.00701 0.02993) |
| XYZ D50 | color(xyz-d50 0.00816 0.0067 0.02253) |
| SwiftUI | Color(red: 0.047, green: 0.067, blue: 0.192) |
| UIKit | UIColor(red: 0.047, green: 0.067, blue: 0.192, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1131) |
| Android XML | #0C1131 |

## 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.42:1
- Contrast with black: 1.14:1

## Tints

#0c1131, #1e2544, #333a57, #49506b, #60677f, #797f93, #9297a8, #acb0bd, #c7cad3, #e3e4e9

## Shades

#0c1131, #090d29, #060922, #04061a, #030413, #02020c, #010106, #000003, #000001, #000000

## Tones

#0c1131, #0d122e, #0d122c, #0e1329, #0f1426, #101423, #111421, #12151e, #13151b, #141518

## Harmonies

- Complementary: #0c1131, #1e1300
- Split: #0c1131, #280c00, #101900
- Analogous: #0c1131, #00172f, #1b0c2c
- Triadic: #0c1131, #2c0602, #001c06
- Tetradic: #0c1131, #240721, #1e1300, #001c06
- Square: #0c1131, #2a0512, #1e1300, #001c17
- Monochromatic: #0c1131, #02021e, #02021e, #272f52, #454f74

## Questions about #0c1131

### What color is #0c1131?

#0c1131 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 17, 49), in HSL hsl(231.89, 60.66%, 11.96%) and in OKLCH oklch(19.534% 0.06347 272.452).

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

The complementary color of #0c1131 is #1e1300. For a calmer combination use the analogous colors #00172f and #1b0c2c. The triadic partners are #2c0602 and #001c06.

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

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

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

#0c1131 is a cool color. In OKLCH its hue is 272 degrees, its lightness 19.5% and its chroma 0.063.
