#1F488F#1F488F
#1F488F is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.4% C 0.127 H 260.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #1F488F |
|---|---|
| RGB | rgb(31, 72, 143) |
| HSL | hsl(218, 64%, 34%) |
| HSV | hsv(218, 78%, 56%) |
| CMYK | cmyk(78.3%, 49.7%, 0%, 43.9%) |
| CIE-LAB | lab(31.60, 12.48, -43.43) |
| CIE-LCH | lch(31.60, 45.19, 286.03°) |
| OKLab | oklab(41.44% -0.0207 -0.1248) |
| OKLCH | oklch(41.44% 0.127 260.6) |
| XYZ | xyz(7.8386, 6.9083, 26.9016) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.12
Darkish Blue
#014182
ΔE00 3.24
Cobalt
#0047AB
ΔE00 3.75
Twilight Blue
#0A437A
ΔE00 3.84
Dusk Blue
#26538D
ΔE00 3.88
Light Navy
#155084
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F488F #8F661F
analogous
#1F808F #1F488F #2E1F8F
triadic
#1F488F #8F1F48 #488F1F
tetradic
#1F488F #8F1F80 #8F661F #1F8F2E
square
#1F488F #8F1F80 #8F661F #1F8F2E
split-complementary
#1F488F #8F2E1F #808F1F
monochromatic
#09152A #142F5D #1F488F #2A61C1 #4F82D9
Accessibility & contrast
On white
8.82
#1F488F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1F488F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F488F
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F488F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F488F | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f488f; /* rgb */ color: rgb(31, 72, 143); /* oklch */ color: oklch(41.4% 0.127 260.6);
Tailwind
colors: {
custom: {
50: '#6c7ab0',
500: '#1f488f',
950: '#000000',
},
}SCSS
$custom: #1f488f; $custom-light: #6c7ab0; $custom-dark: #000000;
JSON
{
"hex": "#1f488f",
"rgb": {
"r": 31,
"g": 72,
"b": 143
},
"hsl": {
"h": 218.036,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.41438,
"c": 0.12651,
"h": 260.6
},
"luminance": 0.06909
}Semantic roles & 50–950 ramp
primary
#1F488F
secondary
#BC944E
accent
#AA40E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F