#12254B#12254B
#12254B is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.2% C 0.075 H 262.5°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).
Color values
| HEX | #12254B |
|---|---|
| RGB | rgb(18, 37, 75) |
| HSL | hsl(220, 61%, 18%) |
| HSV | hsv(220, 76%, 29%) |
| CMYK | cmyk(76%, 50.7%, 0%, 70.6%) |
| CIE-LAB | lab(15.27, 7.28, -25.89) |
| CIE-LCH | lch(15.27, 26.89, 285.70°) |
| OKLab | oklab(27.2% -0.0097 -0.0741) |
| OKLCH | oklch(27.2% 0.075 262.5) |
| XYZ | xyz(2.1806, 1.9595, 6.9186) |
| Luminance | 0.0196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.33
Marine
#042E60
ΔE00 4.76
Navy (survey)
#01153E
ΔE00 5.07
Navy Blue (survey)
#001146
ΔE00 6.96
Marine Blue
#01386A
ΔE00 8.01
Dark Navy
#000435
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12254B #4B3812
analogous
#12414B #12254B #1B124B
triadic
#12254B #4B1225 #254B12
tetradic
#12254B #4B1241 #4B3812 #124B1B
square
#12254B #4B1241 #4B3812 #124B1B
split-complementary
#12254B #4B1B12 #414B12
monochromatic
#060C19 #060D1A #12254B #1E3D7C #2A56AE
Accessibility & contrast
On white
15.09
#12254B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#12254B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12254B
15.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12254B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12254B | 1.00 | 15.09 | 1.39 | 15.09 |
| #FFFFFF | 15.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#12294C
Deuteranopia (green-blind)
#07244A
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #12254b; /* rgb */ color: rgb(18, 37, 75); /* oklch */ color: oklch(27.2% 0.075 262.5);
Tailwind
colors: {
custom: {
50: '#585f7d',
500: '#12254b',
950: '#000000',
},
}SCSS
$custom: #12254b; $custom-light: #585f7d; $custom-dark: #000000;
JSON
{
"hex": "#12254b",
"rgb": {
"r": 18,
"g": 37,
"b": 75
},
"hsl": {
"h": 220,
"s": 61.29,
"l": 18.235
},
"oklch": {
"l": 0.27201,
"c": 0.07473,
"h": 262.5
},
"luminance": 0.0196
}Semantic roles & 50–950 ramp
primary
#12254B
secondary
#846A35
accent
#AF43E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C