#14157B#14157B
#14157B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.163 H 270.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).
Color values
| HEX | #14157B |
|---|---|
| RGB | rgb(20, 21, 123) |
| HSL | hsl(239, 72%, 28%) |
| HSV | hsv(239, 84%, 48%) |
| CMYK | cmyk(83.7%, 82.9%, 0%, 51.8%) |
| CIE-LAB | lab(16.08, 37.53, -56.31) |
| CIE-LCH | lch(16.08, 67.67, 303.68°) |
| OKLab | oklab(29.28% 0.0001 -0.1631) |
| OKLCH | oklch(29.28% 0.163 270) |
| XYZ | xyz(4.1306, 2.1146, 18.9255) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.20
Dark Royal Blue
#02066F
ΔE00 3.36
Royal
#0C1793
ΔE00 3.48
Deep Blue
#040273
ΔE00 3.68
Navy
#000080
ΔE00 3.73
Darkblue
#00008B
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#14157B #7B7A14
analogous
#14497B #14157B #46147B
triadic
#14157B #7B1415 #157B14
tetradic
#14157B #7B1449 #7B7A14 #147B46
square
#14157B #7B1449 #7B7A14 #147B46
split-complementary
#14157B #7B4614 #497B14
monochromatic
#04041A #0B0C46 #14157B #1D1EB0 #2D2EDD
Accessibility & contrast
On white
14.76
#14157B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#14157B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #14157B
14.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##14157B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##14157B | 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)
#002D7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #14157b; /* rgb */ color: rgb(20, 21, 123); /* oklch */ color: oklch(29.3% 0.163 270.0);
Tailwind
colors: {
custom: {
50: '#6855a2',
500: '#14157b',
950: '#000000',
},
}SCSS
$custom: #14157b; $custom-light: #6855a2; $custom-dark: #000000;
JSON
{
"hex": "#14157b",
"rgb": {
"r": 20,
"g": 21,
"b": 123
},
"hsl": {
"h": 239.417,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.29275,
"c": 0.16306,
"h": 270
},
"luminance": 0.02115
}Semantic roles & 50–950 ramp
primary
#14157B
secondary
#B1AF3A
accent
#ED39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F