#1F4D90#1F4D90
#1F4D90 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.122 H 258.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D90 |
|---|---|
| RGB | rgb(31, 77, 144) |
| HSL | hsl(216, 65%, 34%) |
| HSV | hsv(216, 78%, 56%) |
| CMYK | cmyk(78.5%, 46.5%, 0%, 43.5%) |
| CIE-LAB | lab(33.16, 9.49, -41.53) |
| CIE-LCH | lch(33.16, 42.60, 282.87°) |
| OKLab | oklab(42.66% -0.0249 -0.1191) |
| OKLCH | oklch(42.66% 0.122 258.2) |
| XYZ | xyz(8.2511, 7.6117, 27.4145) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.79
Dusk Blue
#26538D
ΔE00 2.12
Light Navy
#155084
ΔE00 3.32
Darkish Blue
#014182
ΔE00 4.14
Twilight Blue
#0A437A
ΔE00 4.24
Cobalt
#0047AB
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D90 #90621F
analogous
#1F8690 #1F4D90 #2A1F90
triadic
#1F4D90 #901F4D #4D901F
tetradic
#1F4D90 #901F86 #90621F #1F902A
square
#1F4D90 #901F86 #90621F #1F902A
split-complementary
#1F4D90 #902A1F #86901F
monochromatic
#09172B #14325E #1F4D90 #2A68C2 #5088D9
Accessibility & contrast
On white
8.32
#1F4D90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#1F4D90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D90
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D90 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5493
Deuteranopia (green-blind)
#10498F
Tritanopia (blue-blind)
#005D67
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f4d90; /* rgb */ color: rgb(31, 77, 144); /* oklch */ color: oklch(42.7% 0.122 258.2);
Tailwind
colors: {
custom: {
50: '#6c7eb1',
500: '#1f4d90',
950: '#000000',
},
}SCSS
$custom: #1f4d90; $custom-light: #6c7eb1; $custom-dark: #000000;
JSON
{
"hex": "#1f4d90",
"rgb": {
"r": 31,
"g": 77,
"b": 144
},
"hsl": {
"h": 215.575,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.42663,
"c": 0.12168,
"h": 258.2
},
"luminance": 0.07613
}Semantic roles & 50–950 ramp
primary
#1F4D90
secondary
#BC904E
accent
#A340E8
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80