#14297F#14297F
#14297F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.0% C 0.147 H 266.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #14297F |
|---|---|
| RGB | rgb(20, 41, 127) |
| HSL | hsl(228, 73%, 29%) |
| HSV | hsv(228, 84%, 50%) |
| CMYK | cmyk(84.3%, 67.7%, 0%, 50.2%) |
| CIE-LAB | lab(21.08, 26.40, -50.60) |
| CIE-LCH | lch(21.08, 57.07, 297.55°) |
| OKLab | oklab(33% -0.0082 -0.1465) |
| OKLCH | oklch(33% 0.147 266.8) |
| XYZ | xyz(4.9109, 3.2663, 20.4462) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.00
Royal
#0C1793
ΔE00 6.08
Marine
#042E60
ΔE00 6.95
Sapphire (survey)
#2138AB
ΔE00 7.26
Darkslateblue
#483D8B
ΔE00 8.36
Marine Blue
#01386A
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#14297F #7F6A14
analogous
#145F7F #14297F #35147F
triadic
#14297F #7F1429 #297F14
tetradic
#14297F #7F145F #7F6A14 #147F35
square
#14297F #7F145F #7F6A14 #147F35
split-complementary
#14297F #7F3514 #5F7F14
monochromatic
#04091A #0C184A #14297F #1C3AB4 #2F52DE
Accessibility & contrast
On white
12.70
#14297F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#14297F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #14297F
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##14297F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##14297F | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #14297f; /* rgb */ color: rgb(20, 41, 127); /* oklch */ color: oklch(33.0% 0.147 266.8);
Tailwind
colors: {
custom: {
50: '#6762a5',
500: '#14297f',
950: '#000000',
},
}SCSS
$custom: #14297f; $custom-light: #6762a5; $custom-dark: #000000;
JSON
{
"hex": "#14297f",
"rgb": {
"r": 20,
"g": 41,
"b": 127
},
"hsl": {
"h": 228.224,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.32996,
"c": 0.14677,
"h": 266.8
},
"luminance": 0.03267
}Semantic roles & 50–950 ramp
primary
#14297F
secondary
#B49C3B
accent
#CC38EF
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F