# #0c1234 color: Spanish Roast

#0c1234 is rgb(12, 18, 52) in RGB and oklch(20.066% 0.06707 271.481) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1234 |
| RGB | rgb(12, 18, 52) |
| HSL | hsl(231, 62.5%, 12.55%) |
| HSB / HSV | hsv(231 76.92% 20.39%) |
| HWB | hwb(231 4.71% 79.61%) |
| CMYK | cmyk(77% 65% 0% 80%) |
| Lab | lab(6.54 7.53 -23.63) |
| LCH | lch(6.54 24.8 287.68) |
| OKLab | oklab(20.066% 0.00173 -0.06704) |
| OKLCH | oklch(20.066% 0.06707 271.481) |
| Display P3 | color(display-p3 0.05178 0.0699 0.19566) |
| Rec. 2020 | color(rec2020 0.02604 0.02793 0.13213) |
| Adobe RGB | color(a98-rgb 0.08439 0.09802 0.21252) |
| ProPhoto RGB | color(prophoto-rgb 0.07198 0.06153 0.14384) |
| Linear sRGB | color(srgb-linear 0.00368 0.00605 0.03434) |
| XYZ D65 | color(xyz-d65 0.00988 0.00759 0.03343) |
| XYZ D50 | color(xyz-d50 0.00885 0.00724 0.02516) |
| SwiftUI | Color(red: 0.047, green: 0.071, blue: 0.204) |
| UIKit | UIColor(red: 0.047, green: 0.071, blue: 0.204, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1234) |
| Android XML | #0C1234 |

## 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.23:1
- Contrast with black: 1.15:1

## Tints

#0c1234, #1e2647, #333b5a, #49516d, #606881, #798095, #9298aa, #acb1be, #c7cad4, #e3e4e9

## Shades

#0c1234, #090e2c, #060a24, #04071c, #030415, #02020e, #010107, #000103, #000001, #000000

## Tones

#0c1234, #0d1331, #0e142e, #0f142b, #101528, #111525, #121522, #13161f, #14161c, #151619

## Harmonies

- Complementary: #0c1234, #201400
- Split: #0c1234, #2a0c00, #121a00
- Analogous: #0c1234, #001831, #1c0c2f
- Triadic: #0c1234, #2e0602, #001e05
- Tetradic: #0c1234, #260824, #201400, #001e05
- Square: #0c1234, #2d0514, #201400, #001e18
- Monochromatic: #0c1234, #02021f, #02021f, #273055, #455078

## Questions about #0c1234

### What color is #0c1234?

#0c1234 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 18, 52), in HSL hsl(231, 62.5%, 12.55%) and in OKLCH oklch(20.066% 0.06707 271.481).

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

The complementary color of #0c1234 is #201400. For a calmer combination use the analogous colors #001831 and #1c0c2f. The triadic partners are #2e0602 and #001e05.

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

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

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

#0c1234 is a cool color. In OKLCH its hue is 271 degrees, its lightness 20.1% and its chroma 0.067.
