#14178F#14178F
#14178F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.186 H 268.6°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #14178F |
|---|---|
| RGB | rgb(20, 23, 143) |
| HSL | hsl(239, 75%, 32%) |
| HSV | hsv(239, 86%, 56%) |
| CMYK | cmyk(86%, 83.9%, 0%, 43.9%) |
| CIE-LAB | lab(18.99, 43.18, -64.10) |
| CIE-LCH | lch(18.99, 77.29, 303.97°) |
| OKLab | oklab(32.03% -0.0044 -0.1856) |
| OKLCH | oklch(32.03% 0.186 268.6) |
| XYZ | xyz(5.5511, 2.7440, 26.2183) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.62
Cobalt Blue
#030AA7
ΔE00 3.56
Darkblue
#00008B
ΔE00 3.62
Royal Blue (survey)
#0504AA
ΔE00 4.13
Navy
#000080
ΔE00 4.41
Midnight Blue
#191970
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#14178F #8F8C14
analogous
#14548F #14178F #4F148F
triadic
#14178F #8F1417 #178F14
tetradic
#14178F #8F1454 #8F8C14 #148F4F
square
#14178F #8F1454 #8F8C14 #148F4F
split-complementary
#14178F #8F4F14 #548F14
monochromatic
#050624 #0C0E59 #14178F #1C20C5 #3A3EE3
Accessibility & contrast
On white
13.56
#14178F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#14178F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #14178F
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##14178F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##14178F | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #14178f; /* rgb */ color: rgb(20, 23, 143); /* oklch */ color: oklch(32.0% 0.186 268.6);
Tailwind
colors: {
custom: {
50: '#6d58b1',
500: '#14178f',
950: '#000000',
},
}SCSS
$custom: #14178f; $custom-light: #6d58b1; $custom-dark: #000000;
JSON
{
"hex": "#14178f",
"rgb": {
"r": 20,
"g": 23,
"b": 143
},
"hsl": {
"h": 238.537,
"s": 75.46,
"l": 31.961
},
"oklch": {
"l": 0.32034,
"c": 0.18569,
"h": 268.6
},
"luminance": 0.02745
}Semantic roles & 50–950 ramp
primary
#14178F
secondary
#C3BF3C
accent
#ED36F2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880