#1F488D#1F488D
#1F488D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.124 H 260.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F488D |
|---|---|
| RGB | rgb(31, 72, 141) |
| HSL | hsl(218, 64%, 34%) |
| HSV | hsv(218, 78%, 55%) |
| CMYK | cmyk(78%, 48.9%, 0%, 44.7%) |
| CIE-LAB | lab(31.46, 11.68, -42.43) |
| CIE-LCH | lch(31.46, 44.01, 285.39°) |
| OKLab | oklab(41.29% -0.0211 -0.1218) |
| OKLCH | oklch(41.29% 0.124 260.2) |
| XYZ | xyz(7.6884, 6.8482, 26.1108) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.27
Darkish Blue
#014182
ΔE00 3.06
Twilight Blue
#0A437A
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 3.81
Cobalt
#0047AB
ΔE00 4.01
Light Navy
#155084
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F488D #8D641F
analogous
#1F7F8D #1F488D #2D1F8D
triadic
#1F488D #8D1F48 #488D1F
tetradic
#1F488D #8D1F7F #8D641F #1F8D2D
square
#1F488D #8D1F7F #8D641F #1F8D2D
split-complementary
#1F488D #8D2D1F #7F8D1F
monochromatic
#091529 #142E5B #1F488D #2A62BF #4E82D8
Accessibility & contrast
On white
8.86
#1F488D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1F488D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F488D
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F488D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F488D | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f488d; /* rgb */ color: rgb(31, 72, 141); /* oklch */ color: oklch(41.3% 0.124 260.2);
Tailwind
colors: {
custom: {
50: '#6c7aaf',
500: '#1f488d',
950: '#000000',
},
}SCSS
$custom: #1f488d; $custom-light: #6c7aaf; $custom-dark: #000000;
JSON
{
"hex": "#1f488d",
"rgb": {
"r": 31,
"g": 72,
"b": 141
},
"hsl": {
"h": 217.636,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.41287,
"c": 0.12365,
"h": 260.2
},
"luminance": 0.06849
}Semantic roles & 50–950 ramp
primary
#1F488D
secondary
#BB924D
accent
#A941E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F