#14127F#14127F
#14127F is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.170 H 270.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #14127F |
|---|---|
| RGB | rgb(20, 18, 127) |
| HSL | hsl(241, 75%, 28%) |
| HSV | hsv(241, 86%, 50%) |
| CMYK | cmyk(84.3%, 85.8%, 0%, 50.2%) |
| CIE-LAB | lab(16.07, 40.40, -58.88) |
| CIE-LCH | lch(16.07, 71.40, 304.46°) |
| OKLab | oklab(29.42% -0.0001 -0.1704) |
| OKLCH | oklch(29.42% 0.17 270) |
| XYZ | xyz(4.3343, 2.1131, 20.2540) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.98
Royal
#0C1793
ΔE00 2.99
Midnight Blue
#191970
ΔE00 3.11
Darkblue
#00008B
ΔE00 3.18
Dark Royal Blue
#02066F
ΔE00 3.27
Deep Blue
#040273
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#14127F #7D7F12
analogous
#12467F #14127F #4A127F
triadic
#14127F #7F1412 #127F14
tetradic
#14127F #7F1246 #7D7F12 #127F4A
square
#14127F #7F1246 #7D7F12 #127F4A
split-complementary
#14127F #7F4A12 #467F12
monochromatic
#04041B #0C0A49 #14127F #1C1AB5 #2E2BE1
Accessibility & contrast
On white
14.76
#14127F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#14127F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #14127F
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##14127F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##14127F | 1.00 | 14.76 | 1.42 | 14.76 |
| #FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00227D
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #14127f; /* rgb */ color: rgb(20, 18, 127); /* oklch */ color: oklch(29.4% 0.170 270.0);
Tailwind
colors: {
custom: {
50: '#6954a5',
500: '#14127f',
950: '#000000',
},
}SCSS
$custom: #14127f; $custom-light: #6954a5; $custom-dark: #000000;
JSON
{
"hex": "#14127f",
"rgb": {
"r": 20,
"g": 18,
"b": 127
},
"hsl": {
"h": 241.101,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.29418,
"c": 0.17042,
"h": 270
},
"luminance": 0.02114
}Semantic roles & 50–950 ramp
primary
#14127F
secondary
#B2B538
accent
#F236EE
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F