#1F4A90#1F4A90
#1F4A90 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.125 H 259.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4A90 |
|---|---|
| RGB | rgb(31, 74, 144) |
| HSL | hsl(217, 65%, 34%) |
| HSV | hsv(217, 78%, 56%) |
| CMYK | cmyk(78.5%, 48.6%, 0%, 43.5%) |
| CIE-LAB | lab(32.26, 11.52, -42.98) |
| CIE-LCH | lch(32.26, 44.49, 285.00°) |
| OKLab | oklab(41.97% -0.0223 -0.1234) |
| OKLCH | oklch(41.97% 0.125 259.8) |
| XYZ | xyz(8.0461, 7.2016, 27.3461) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.67
Dusk Blue
#26538D
ΔE00 3.20
Darkish Blue
#014182
ΔE00 3.56
Cobalt
#0047AB
ΔE00 3.79
Twilight Blue
#0A437A
ΔE00 3.97
Light Navy
#155084
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4A90 #90651F
analogous
#1F8390 #1F4A90 #2D1F90
triadic
#1F4A90 #901F4A #4A901F
tetradic
#1F4A90 #901F83 #90651F #1F902D
square
#1F4A90 #901F83 #90651F #1F902D
split-complementary
#1F4A90 #902D1F #83901F
monochromatic
#09162B #14305E #1F4A90 #2A64C2 #5084D9
Accessibility & contrast
On white
8.61
#1F4A90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F4A90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4A90
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4A90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4A90 | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#235193
Deuteranopia (green-blind)
#01478F
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f4a90; /* rgb */ color: rgb(31, 74, 144); /* oklch */ color: oklch(42.0% 0.125 259.8);
Tailwind
colors: {
custom: {
50: '#6c7bb1',
500: '#1f4a90',
950: '#000000',
},
}SCSS
$custom: #1f4a90; $custom-light: #6c7bb1; $custom-dark: #000000;
JSON
{
"hex": "#1f4a90",
"rgb": {
"r": 31,
"g": 74,
"b": 144
},
"hsl": {
"h": 217.168,
"s": 64.571,
"l": 34.314
},
"oklch": {
"l": 0.4197,
"c": 0.12541,
"h": 259.8
},
"luminance": 0.07202
}Semantic roles & 50–950 ramp
primary
#1F4A90
secondary
#BC934E
accent
#A840E8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80