#12294B#12294B
#12294B is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.2% C 0.069 H 258.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #12294B |
|---|---|
| RGB | rgb(18, 41, 75) |
| HSL | hsl(216, 61%, 18%) |
| HSV | hsv(216, 76%, 29%) |
| CMYK | cmyk(76%, 45.3%, 0%, 70.6%) |
| CIE-LAB | lab(16.61, 4.30, -23.75) |
| CIE-LCH | lch(16.61, 24.13, 280.26°) |
| OKLab | oklab(28.24% -0.0142 -0.0677) |
| OKLCH | oklch(28.24% 0.069 258.2) |
| XYZ | xyz(2.3119, 2.2222, 6.9623) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.85
Marine
#042E60
ΔE00 4.01
Marine Blue
#01386A
ΔE00 6.67
Navy (survey)
#01153E
ΔE00 6.77
Dark
#1B2431
ΔE00 8.35
Navy Blue (survey)
#001146
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12294B #4B3412
analogous
#12454B #12294B #17124B
triadic
#12294B #4B1229 #294B12
tetradic
#12294B #4B1245 #4B3412 #124B17
square
#12294B #4B1245 #4B3412 #124B17
split-complementary
#12294B #4B1712 #454B12
monochromatic
#060D19 #060E1A #12294B #1E447C #2A5FAE
Accessibility & contrast
On white
14.54
#12294B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#12294B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12294B
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12294B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12294B | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#192C4C
Deuteranopia (green-blind)
#10274A
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #12294b; /* rgb */ color: rgb(18, 41, 75); /* oklch */ color: oklch(28.2% 0.069 258.2);
Tailwind
colors: {
custom: {
50: '#58627d',
500: '#12294b',
950: '#000000',
},
}SCSS
$custom: #12294b; $custom-light: #58627d; $custom-dark: #000000;
JSON
{
"hex": "#12294b",
"rgb": {
"r": 18,
"g": 41,
"b": 75
},
"hsl": {
"h": 215.789,
"s": 61.29,
"l": 18.235
},
"oklch": {
"l": 0.28235,
"c": 0.0692,
"h": 258.2
},
"luminance": 0.02222
}Semantic roles & 50–950 ramp
primary
#12294B
secondary
#846435
accent
#A343E4
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B