#1F488A#1F488A
#1F488A is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.119 H 259.6°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #1F488A |
|---|---|
| RGB | rgb(31, 72, 138) |
| HSL | hsl(217, 63%, 33%) |
| HSV | hsv(217, 78%, 54%) |
| CMYK | cmyk(77.5%, 47.8%, 0%, 45.9%) |
| CIE-LAB | lab(31.25, 10.47, -40.91) |
| CIE-LCH | lch(31.25, 42.23, 284.36°) |
| OKLab | oklab(41.07% -0.0216 -0.1174) |
| OKLCH | oklch(41.07% 0.119 259.6) |
| XYZ | xyz(7.4682, 6.7602, 24.9511) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.70
Darkish Blue
#014182
ΔE00 2.83
Twilight Blue
#0A437A
ΔE00 3.25
Dusk Blue
#26538D
ΔE00 3.73
Light Navy
#155084
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F488A #8A611F
analogous
#1F7D8A #1F488A #2B1F8A
triadic
#1F488A #8A1F48 #488A1F
tetradic
#1F488A #8A1F7D #8A611F #1F8A2B
square
#1F488A #8A1F7D #8A611F #1F8A2B
split-complementary
#1F488A #8A2B1F #7D8A1F
monochromatic
#091426 #142E58 #1F488A #2A62BC #4C82D7
Accessibility & contrast
On white
8.93
#1F488A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#1F488A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F488A
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F488A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F488A | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#254F8C
Deuteranopia (green-blind)
#094589
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f488a; /* rgb */ color: rgb(31, 72, 138); /* oklch */ color: oklch(41.1% 0.119 259.6);
Tailwind
colors: {
custom: {
50: '#6b7aad',
500: '#1f488a',
950: '#000000',
},
}SCSS
$custom: #1f488a; $custom-light: #6b7aad; $custom-dark: #000000;
JSON
{
"hex": "#1f488a",
"rgb": {
"r": 31,
"g": 72,
"b": 138
},
"hsl": {
"h": 217.009,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.41065,
"c": 0.11936,
"h": 259.6
},
"luminance": 0.06761
}Semantic roles & 50–950 ramp
primary
#1F488A
secondary
#BA8F4B
accent
#A741E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F