#0C0B2E#0C0B2E
#0C0B2E is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 17.8% C 0.068 H 278.2°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).
Color values
| HEX | #0C0B2E |
|---|---|
| RGB | rgb(12, 11, 46) |
| HSL | hsl(242, 61%, 11%) |
| HSV | hsv(242, 76%, 18%) |
| CMYK | cmyk(73.9%, 76.1%, 0%, 82%) |
| CIE-LAB | lab(4.65, 11.27, -22.31) |
| CIE-LCH | lch(4.65, 24.99, 296.80°) |
| OKLab | oklab(17.84% 0.0097 -0.0673) |
| OKLCH | oklch(17.84% 0.068 278.2) |
| XYZ | xyz(0.7643, 0.5147, 2.6433) |
| Luminance | 0.0052 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 2.34
Dark Navy Blue
#00022E
ΔE00 2.80
Very Dark Blue
#000133
ΔE00 3.89
Dark Navy
#000435
ΔE00 3.90
Midnight Blue (survey)
#020035
ΔE00 4.42
Navy (survey)
#01153E
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C0B2E #2D2E0B
analogous
#0B1B2E #0C0B2E #1D0B2E
triadic
#0C0B2E #2E0C0B #0B2E0C
tetradic
#0C0B2E #2E0B1B #2D2E0B #0B2E1D
square
#0C0B2E #2E0B1B #2D2E0B #0B2E1D
split-complementary
#0C0B2E #2E1D0B #1B2E0B
monochromatic
#060619 #060619 #0C0B2E #19175F #262391
Accessibility & contrast
On white
19.04
#0C0B2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.10
#0C0B2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C0B2E
19.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C0B2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C0B2E | 1.00 | 19.04 | 1.10 | 19.04 |
| #FFFFFF | 19.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00112F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#101010
Design tokens & code
CSS
--color: #0c0b2e; /* rgb */ color: rgb(12, 11, 46); /* oklch */ color: oklch(17.8% 0.068 278.2);
Tailwind
colors: {
custom: {
50: '#4e4b67',
500: '#0c0b2e',
950: '#000000',
},
}SCSS
$custom: #0c0b2e; $custom-light: #4e4b67; $custom-dark: #000000;
JSON
{
"hex": "#0c0b2e",
"rgb": {
"r": 12,
"g": 11,
"b": 46
},
"hsl": {
"h": 241.714,
"s": 61.404,
"l": 11.176
},
"oklch": {
"l": 0.17836,
"c": 0.06798,
"h": 278.2
},
"luminance": 0.00515
}Semantic roles & 50–950 ramp
primary
#0C0B2E
secondary
#696A2A
accent
#E543E0
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A