# #0c1336 color: Spanish Roast

#0c1336 is rgb(12, 19, 54) in RGB and oklch(20.501% 0.06892 270.608) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1336 |
| RGB | rgb(12, 19, 54) |
| HSL | hsl(230, 63.64%, 12.94%) |
| HSB / HSV | hsv(230 77.78% 21.18%) |
| HWB | hwb(230 4.71% 78.82%) |
| CMYK | cmyk(78% 65% 0% 79%) |
| Lab | lab(6.98 7.74 -24.38) |
| LCH | lch(6.98 25.58 287.6) |
| OKLab | oklab(20.501% 0.00073 -0.06891) |
| OKLCH | oklch(20.501% 0.06892 270.608) |
| Display P3 | color(display-p3 0.05266 0.07373 0.20324) |
| Rec. 2020 | color(rec2020 0.02722 0.02998 0.13969) |
| Adobe RGB | color(a98-rgb 0.08555 0.10136 0.21956) |
| ProPhoto RGB | color(prophoto-rgb 0.07428 0.06395 0.14968) |
| Linear sRGB | color(srgb-linear 0.00368 0.00651 0.03689) |
| XYZ D65 | color(xyz-d65 0.0105 0.0081 0.03591) |
| XYZ D50 | color(xyz-d50 0.00939 0.00772 0.02703) |
| SwiftUI | Color(red: 0.047, green: 0.075, blue: 0.212) |
| UIKit | UIColor(red: 0.047, green: 0.075, blue: 0.212, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1336) |
| Android XML | #0C1336 |

## 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.07:1
- Contrast with black: 1.16:1

## Tints

#0c1336, #1e2749, #333c5b, #49526f, #616982, #798096, #9298ab, #acb1bf, #c7cbd4, #e3e5e9

## Shades

#0c1336, #090f2e, #060b25, #04071e, #030516, #02030f, #010108, #000103, #000001, #000000

## Tones

#0c1336, #0d1433, #0e1530, #0f152d, #10162a, #111627, #121624, #141721, #15171e, #16171a

## Harmonies

- Complementary: #0c1336, #221500
- Split: #0c1336, #2c0c00, #131b00
- Analogous: #0c1336, #001933, #1d0d31
- Triadic: #0c1336, #300603, #001f05
- Tetradic: #0c1336, #280825, #221500, #001f05
- Square: #0c1336, #2e0515, #221500, #001f18
- Monochromatic: #0c1336, #020120, #020120, #273157, #45527a

## Questions about #0c1336

### What color is #0c1336?

#0c1336 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 19, 54), in HSL hsl(230, 63.64%, 12.94%) and in OKLCH oklch(20.501% 0.06892 270.608).

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

The complementary color of #0c1336 is #221500. For a calmer combination use the analogous colors #001933 and #1d0d31. The triadic partners are #300603 and #001f05.

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

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

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

#0c1336 is a cool color. In OKLCH its hue is 271 degrees, its lightness 20.5% and its chroma 0.069.
