#12107F#12107F
#12107F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 29.1% C 0.172 H 269.3°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).
Color values
| HEX | #12107F |
|---|---|
| RGB | rgb(18, 16, 127) |
| HSL | hsl(241, 78%, 28%) |
| HSV | hsv(241, 87%, 50%) |
| CMYK | cmyk(85.8%, 87.4%, 0%, 50.2%) |
| CIE-LAB | lab(15.65, 41.25, -59.58) |
| CIE-LCH | lch(15.65, 72.46, 304.70°) |
| OKLab | oklab(29.1% -0.002 -0.1724) |
| OKLCH | oklch(29.1% 0.172 269.3) |
| XYZ | xyz(4.2642, 2.0310, 20.2418) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.59
Darkblue
#00008B
ΔE00 2.86
Deep Blue
#040273
ΔE00 3.00
Dark Royal Blue
#02066F
ΔE00 3.02
Royal
#0C1793
ΔE00 3.12
Midnight Blue
#191970
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12107F #7D7F10
analogous
#10457F #12107F #49107F
triadic
#12107F #7F1210 #107F12
tetradic
#12107F #7F1045 #7D7F10 #107F49
square
#12107F #7F1045 #7D7F10 #107F49
split-complementary
#12107F #7F4910 #457F10
monochromatic
#04031B #0A0949 #12107F #1A17B5 #2926E4
Accessibility & contrast
On white
14.93
#12107F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#12107F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12107F
14.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12107F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12107F | 1.00 | 14.93 | 1.41 | 14.93 |
| #FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00217D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #12107f; /* rgb */ color: rgb(18, 16, 127); /* oklch */ color: oklch(29.1% 0.172 269.3);
Tailwind
colors: {
custom: {
50: '#6952a5',
500: '#12107f',
950: '#000000',
},
}SCSS
$custom: #12107f; $custom-light: #6952a5; $custom-dark: #000000;
JSON
{
"hex": "#12107f",
"rgb": {
"r": 18,
"g": 16,
"b": 127
},
"hsl": {
"h": 241.081,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.29099,
"c": 0.17245,
"h": 269.3
},
"luminance": 0.02031
}Semantic roles & 50–950 ramp
primary
#12107F
secondary
#B3B536
accent
#F434F1
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08020F
muted
#7A787F