# #0c1230 color: Spanish Roast

#0c1230 is rgb(12, 18, 48) in RGB and oklch(19.69% 0.06008 271.344) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1230 |
| RGB | rgb(12, 18, 48) |
| HSL | hsl(230, 60%, 11.76%) |
| HSB / HSV | hsv(230 75% 18.82%) |
| HWB | hwb(230 4.71% 81.18%) |
| CMYK | cmyk(75% 63% 0% 81%) |
| Lab | lab(6.27 5.91 -21.11) |
| LCH | lch(6.27 21.93 285.64) |
| OKLab | oklab(19.69% 0.00141 -0.06006) |
| OKLCH | oklch(19.69% 0.06008 271.344) |
| Display P3 | color(display-p3 0.05178 0.0699 0.18072) |
| Rec. 2020 | color(rec2020 0.0251 0.02768 0.11732) |
| Adobe RGB | color(a98-rgb 0.08439 0.09802 0.19862) |
| ProPhoto RGB | color(prophoto-rgb 0.06886 0.06083 0.13265) |
| Linear sRGB | color(srgb-linear 0.00368 0.00605 0.02956) |
| XYZ D65 | color(xyz-d65 0.00901 0.00724 0.02889) |
| XYZ D50 | color(xyz-d50 0.00816 0.00695 0.02174) |
| SwiftUI | Color(red: 0.047, green: 0.071, blue: 0.188) |
| UIKit | UIColor(red: 0.047, green: 0.071, blue: 0.188, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1230) |
| Android XML | #0C1230 |

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

## Tints

#0c1230, #1f2643, #333b56, #49516a, #61687e, #797f92, #9297a7, #acb0bd, #c7cad2, #e3e4e9

## Shades

#0c1230, #090e28, #060a21, #04071a, #030413, #02020c, #010106, #000103, #000001, #000000

## Tones

#0c1230, #0d132d, #0e132b, #0f1428, #0f1426, #101423, #111520, #12151e, #13151b, #141518

## Harmonies

- Complementary: #0c1230, #1f1300
- Split: #0c1230, #280d00, #111900
- Analogous: #0c1230, #00172d, #1a0d2c
- Triadic: #0c1230, #2b0804, #001c06
- Tetradic: #0c1230, #240921, #1f1300, #001c06
- Square: #0c1230, #2a0714, #1f1300, #001d17
- Monochromatic: #0c1230, #02021c, #02021c, #273051, #465073

## Questions about #0c1230

### What color is #0c1230?

#0c1230 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 18, 48), in HSL hsl(230, 60%, 11.76%) and in OKLCH oklch(19.69% 0.06008 271.344).

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

The complementary color of #0c1230 is #1f1300. For a calmer combination use the analogous colors #00172d and #1a0d2c. The triadic partners are #2b0804 and #001c06.

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

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

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

#0c1230 is a cool color. In OKLCH its hue is 271 degrees, its lightness 19.7% and its chroma 0.06.
