#0C163F#0C163F
#0C163F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.1% C 0.079 H 268.6°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).
Color values
| HEX | #0C163F |
|---|---|
| RGB | rgb(12, 22, 63) |
| HSL | hsl(228, 68%, 15%) |
| HSV | hsv(228, 81%, 25%) |
| CMYK | cmyk(81%, 65.1%, 0%, 75.3%) |
| CIE-LAB | lab(9.08, 12.55, -27.54) |
| CIE-LCH | lch(9.08, 30.26, 294.49°) |
| OKLab | oklab(22.1% -0.0019 -0.0794) |
| OKLCH | oklch(22.1% 0.079 268.6) |
| XYZ | xyz(1.3354, 1.0107, 4.8264) |
| Luminance | 0.0101 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 1.69
Navy Blue (survey)
#001146
ΔE00 3.27
Dark Navy
#000435
ΔE00 3.80
Dark Navy Blue
#00022E
ΔE00 4.20
Very Dark Blue
#000133
ΔE00 4.21
Midnight
#03012D
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C163F #3F350C
analogous
#0C303F #0C163F #1B0C3F
triadic
#0C163F #3F0C16 #163F0C
tetradic
#0C163F #3F0C30 #3F350C #0C3F1B
square
#0C163F #3F0C30 #3F350C #0C3F1B
split-complementary
#0C163F #3F1B0C #303F0C
monochromatic
#05091A #05091A #0C163F #162872 #203AA6
Accessibility & contrast
On white
17.47
#0C163F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.20
#0C163F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C163F
17.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C163F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C163F | 1.00 | 17.47 | 1.20 | 17.47 |
| #FFFFFF | 17.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001C40
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #0c163f; /* rgb */ color: rgb(12, 22, 63); /* oklch */ color: oklch(22.1% 0.079 268.6);
Tailwind
colors: {
custom: {
50: '#535274',
500: '#0c163f',
950: '#000000',
},
}SCSS
$custom: #0c163f; $custom-light: #535274; $custom-dark: #000000;
JSON
{
"hex": "#0c163f",
"rgb": {
"r": 12,
"g": 22,
"b": 63
},
"hsl": {
"h": 228.235,
"s": 68,
"l": 14.706
},
"oklch": {
"l": 0.22096,
"c": 0.07939,
"h": 268.6
},
"luminance": 0.01011
}Semantic roles & 50–950 ramp
primary
#0C163F
secondary
#7B6C2C
accent
#C93DEB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B