#12294F#12294F
#12294F is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.5% C 0.076 H 259.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).
Color values
| HEX | #12294F |
|---|---|
| RGB | rgb(18, 41, 79) |
| HSL | hsl(217, 63%, 19%) |
| HSV | hsv(217, 77%, 31%) |
| CMYK | cmyk(77.2%, 48.1%, 0%, 69%) |
| CIE-LAB | lab(16.89, 6.01, -26.03) |
| CIE-LCH | lch(16.89, 26.71, 283.00°) |
| OKLab | oklab(28.54% -0.0133 -0.0744) |
| OKLCH | oklch(28.54% 0.076 259.9) |
| XYZ | xyz(2.4532, 2.2787, 7.7062) |
| Luminance | 0.0228 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.13
Marine
#042E60
ΔE00 3.47
Navy (survey)
#01153E
ΔE00 6.46
Marine Blue
#01386A
ΔE00 6.50
Navy Blue (survey)
#001146
ΔE00 8.17
Dark
#1B2431
ΔE00 9.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12294F #4F3812
analogous
#12484F #12294F #1A124F
triadic
#12294F #4F1229 #294F12
tetradic
#12294F #4F1248 #4F3812 #124F1A
square
#12294F #4F1248 #4F3812 #124F1A
split-complementary
#12294F #4F1A12 #484F12
monochromatic
#060D19 #070F1D #12294F #1D4381 #295DB3
Accessibility & contrast
On white
14.43
#12294F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#12294F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12294F
14.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12294F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12294F | 1.00 | 14.43 | 1.46 | 14.43 |
| #FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#162D50
Deuteranopia (green-blind)
#0B274E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #12294f; /* rgb */ color: rgb(18, 41, 79); /* oklch */ color: oklch(28.5% 0.076 259.9);
Tailwind
colors: {
custom: {
50: '#596280',
500: '#12294f',
950: '#000000',
},
}SCSS
$custom: #12294f; $custom-light: #596280; $custom-dark: #000000;
JSON
{
"hex": "#12294f",
"rgb": {
"r": 18,
"g": 41,
"b": 79
},
"hsl": {
"h": 217.377,
"s": 62.887,
"l": 19.02
},
"oklch": {
"l": 0.28536,
"c": 0.0756,
"h": 259.9
},
"luminance": 0.02279
}Semantic roles & 50–950 ramp
primary
#12294F
secondary
#886935
accent
#A842E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C