#12156F#12156F
#12156F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.148 H 270.1°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).
Color values
| HEX | #12156F |
|---|---|
| RGB | rgb(18, 21, 111) |
| HSL | hsl(238, 72%, 25%) |
| HSV | hsv(238, 84%, 44%) |
| CMYK | cmyk(83.8%, 81.1%, 0%, 56.5%) |
| CIE-LAB | lab(14.47, 33.19, -51.23) |
| CIE-LCH | lch(14.47, 61.04, 302.93°) |
| OKLab | oklab(27.68% 0.0003 -0.1484) |
| OKLCH | oklch(27.68% 0.148 270.1) |
| XYZ | xyz(3.3859, 1.8122, 15.2072) |
| Luminance | 0.0181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.08
Dark Royal Blue
#02066F
ΔE00 3.14
Darkblue (survey)
#030764
ΔE00 3.30
Deep Blue
#040273
ΔE00 3.90
Navy
#000080
ΔE00 4.77
Dark Blue
#00035B
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12156F #6F6C12
analogous
#12436F #12156F #3E126F
triadic
#12156F #6F1215 #156F12
tetradic
#12156F #6F1243 #6F6C12 #126F3E
square
#12156F #6F1243 #6F6C12 #126F3E
split-complementary
#12156F #6F3E12 #436F12
monochromatic
#04051A #090B3A #12156F #1B1FA4 #2329D8
Accessibility & contrast
On white
15.41
#12156F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#12156F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12156F
15.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12156F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12156F | 1.00 | 15.41 | 1.36 | 15.41 |
| #FFFFFF | 15.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #12156f; /* rgb */ color: rgb(18, 21, 111); /* oklch */ color: oklch(27.7% 0.148 270.1);
Tailwind
colors: {
custom: {
50: '#645499',
500: '#12156f',
950: '#000000',
},
}SCSS
$custom: #12156f; $custom-light: #645499; $custom-dark: #000000;
JSON
{
"hex": "#12156f",
"rgb": {
"r": 18,
"g": 21,
"b": 111
},
"hsl": {
"h": 238.065,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.27682,
"c": 0.14839,
"h": 270.1
},
"luminance": 0.01813
}Semantic roles & 50–950 ramp
primary
#12156F
secondary
#A6A337
accent
#E939EF
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06030E
muted
#7A787E