#141F7F#141F7F
#141F7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.158 H 268.7°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #141F7F |
|---|---|
| RGB | rgb(20, 31, 127) |
| HSL | hsl(234, 73%, 29%) |
| HSV | hsv(234, 84%, 50%) |
| CMYK | cmyk(84.3%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(18.63, 33.05, -54.63) |
| CIE-LCH | lch(18.63, 63.85, 301.17°) |
| OKLab | oklab(31.22% -0.0037 -0.1583) |
| OKLCH | oklch(31.22% 0.158 268.7) |
| XYZ | xyz(4.6079, 2.6605, 20.3452) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.70
Royal
#0C1793
ΔE00 3.68
Dark Royal Blue
#02066F
ΔE00 5.73
Darkblue
#00008B
ΔE00 6.06
Navy
#000080
ΔE00 6.07
Deep Blue
#040273
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#141F7F #7F7414
analogous
#14557F #141F7F #3F147F
triadic
#141F7F #7F141F #1F7F14
tetradic
#141F7F #7F1455 #7F7414 #147F3F
square
#141F7F #7F1455 #7F7414 #147F3F
split-complementary
#141F7F #7F3F14 #557F14
monochromatic
#04061A #0C124A #141F7F #1C2CB4 #2F41DE
Accessibility & contrast
On white
13.71
#141F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#141F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #141F7F
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##141F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##141F7F | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #141f7f; /* rgb */ color: rgb(20, 31, 127); /* oklch */ color: oklch(31.2% 0.158 268.7);
Tailwind
colors: {
custom: {
50: '#685ba5',
500: '#141f7f',
950: '#000000',
},
}SCSS
$custom: #141f7f; $custom-light: #685ba5; $custom-dark: #000000;
JSON
{
"hex": "#141f7f",
"rgb": {
"r": 20,
"g": 31,
"b": 127
},
"hsl": {
"h": 233.832,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.31219,
"c": 0.15836,
"h": 268.7
},
"luminance": 0.02661
}Semantic roles & 50–950 ramp
primary
#141F7F
secondary
#B4A83B
accent
#DD38EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F