# #0c1335 color: Spanish Roast

#0c1335 is rgb(12, 19, 53) in RGB and oklch(20.406% 0.0672 270.567) in OKLCH. Every other format, shade and contrast value is below.

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

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c1335 |
| RGB | rgb(12, 19, 53) |
| HSL | hsl(229.76, 63.08%, 12.75%) |
| HSB / HSV | hsv(229.76 77.36% 20.78%) |
| HWB | hwb(229.76 4.71% 79.22%) |
| CMYK | cmyk(77% 64% 0% 79%) |
| Lab | lab(6.91 7.34 -23.77) |
| LCH | lch(6.91 24.87 287.16) |
| OKLab | oklab(20.406% 0.00067 -0.0672) |
| OKLCH | oklch(20.406% 0.0672 270.567) |
| Display P3 | color(display-p3 0.05266 0.07373 0.1995) |
| Rec. 2020 | color(rec2020 0.02697 0.02991 0.13597) |
| Adobe RGB | color(a98-rgb 0.08555 0.10136 0.21607) |
| ProPhoto RGB | color(prophoto-rgb 0.07348 0.06377 0.14682) |
| Linear sRGB | color(srgb-linear 0.00368 0.00651 0.0356) |
| XYZ D65 | color(xyz-d65 0.01027 0.00801 0.03469) |
| XYZ D50 | color(xyz-d50 0.00921 0.00764 0.02611) |
| SwiftUI | Color(red: 0.047, green: 0.075, blue: 0.208) |
| UIKit | UIColor(red: 0.047, green: 0.075, blue: 0.208, alpha: 1) |
| Flutter / Compose | Color(0xFF0C1335) |
| Android XML | #0C1335 |

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

## Tints

#0c1335, #1f2748, #333c5a, #49526e, #616982, #798096, #9298aa, #acb1bf, #c7cbd4, #e3e4e9

## Shades

#0c1335, #090f2d, #060b25, #04071d, #030515, #02030e, #010108, #000103, #000001, #000000

## Tones

#0c1335, #0d1432, #0e142f, #0f152c, #101629, #111626, #121623, #131720, #15171d, #16171a

## Harmonies

- Complementary: #0c1335, #211500
- Split: #0c1335, #2c0c00, #131b00
- Analogous: #0c1335, #001932, #1c0d30
- Triadic: #0c1335, #2f0703, #001f05
- Tetradic: #0c1335, #270825, #211500, #001f05
- Square: #0c1335, #2d0615, #211500, #001f18
- Monochromatic: #0c1335, #02021f, #02021f, #273156, #455279

## Questions about #0c1335

### What color is #0c1335?

#0c1335 is soft very dark indigo. The closest named color is Spanish Roast. In RGB it is rgb(12, 19, 53), in HSL hsl(229.76, 63.08%, 12.75%) and in OKLCH oklch(20.406% 0.0672 270.567).

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

The complementary color of #0c1335 is #211500. For a calmer combination use the analogous colors #001932 and #1c0d30. The triadic partners are #2f0703 and #001f05.

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

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

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

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