#0C101F#0C101F
#0C101F is a very dark, muted blue. Relative luminance 0.005; OKLCH L 17.8% C 0.032 H 271.5°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).
Color values
| HEX | #0C101F |
|---|---|
| RGB | rgb(12, 16, 31) |
| HSL | hsl(227, 44%, 8%) |
| HSV | hsv(227, 61%, 12%) |
| CMYK | cmyk(61.3%, 48.4%, 0%, 87.8%) |
| CIE-LAB | lab(4.95, 2.61, -10.41) |
| CIE-LCH | lch(4.95, 10.74, 284.07°) |
| OKLab | oklab(17.75% 0.0008 -0.0317) |
| OKLCH | oklch(17.75% 0.032 271.5) |
| XYZ | xyz(0.5842, 0.5476, 1.3710) |
| Luminance | 0.0055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 6.50
Black
#000000
ΔE00 9.36
Almost Black
#070D0D
ΔE00 9.56
Dark Navy Blue
#00022E
ΔE00 9.91
Midnight
#03012D
ΔE00 10.04
Navy (survey)
#01153E
ΔE00 10.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C101F #1F1B0C
analogous
#0C191F #0C101F #110C1F
triadic
#0C101F #1F0C10 #101F0C
tetradic
#0C101F #1F0C19 #1F1B0C #0C1F11
square
#0C101F #1F0C19 #1F1B0C #0C1F11
split-complementary
#0C101F #1F110C #191F0C
monochromatic
#090B16 #090B16 #0C101F #1D274B #2E3E77
Accessibility & contrast
On white
18.93
#0C101F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#0C101F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C101F
18.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C101F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C101F | 1.00 | 18.93 | 1.11 | 18.93 |
| #FFFFFF | 18.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B1220
Deuteranopia (green-blind)
#09101F
Tritanopia (blue-blind)
#061316
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #0c101f; /* rgb */ color: rgb(12, 16, 31); /* oklch */ color: oklch(17.8% 0.032 271.5);
Tailwind
colors: {
custom: {
50: '#4c4e5a',
500: '#0c101f',
950: '#000000',
},
}SCSS
$custom: #0c101f; $custom-light: #4c4e5a; $custom-dark: #000000;
JSON
{
"hex": "#0c101f",
"rgb": {
"r": 12,
"g": 16,
"b": 31
},
"hsl": {
"h": 227.368,
"s": 44.186,
"l": 8.431
},
"oklch": {
"l": 0.1775,
"c": 0.03173,
"h": 271.5
},
"luminance": 0.00548
}Semantic roles & 50–950 ramp
primary
#0C101F
secondary
#584F2F
accent
#B954D4
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010103
muted
#777778