#1F488C#1F488C
#1F488C is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.122 H 260.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1F488C |
|---|---|
| RGB | rgb(31, 72, 140) |
| HSL | hsl(217, 64%, 34%) |
| HSV | hsv(217, 78%, 55%) |
| CMYK | cmyk(77.9%, 48.6%, 0%, 45.1%) |
| CIE-LAB | lab(31.39, 11.27, -41.93) |
| CIE-LCH | lch(31.39, 43.42, 285.05°) |
| OKLab | oklab(41.21% -0.0212 -0.1204) |
| OKLCH | oklch(41.21% 0.122 260) |
| XYZ | xyz(7.6143, 6.8186, 25.7207) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.41
Darkish Blue
#014182
ΔE00 2.98
Twilight Blue
#0A437A
ΔE00 3.49
Dusk Blue
#26538D
ΔE00 3.78
Cobalt
#0047AB
ΔE00 4.14
Light Navy
#155084
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F488C #8C631F
analogous
#1F7E8C #1F488C #2C1F8C
triadic
#1F488C #8C1F48 #488C1F
tetradic
#1F488C #8C1F7E #8C631F #1F8C2C
square
#1F488C #8C1F7E #8C631F #1F8C2C
split-complementary
#1F488C #8C2C1F #7E8C1F
monochromatic
#091428 #142E5A #1F488C #2A62BE #4E82D8
Accessibility & contrast
On white
8.88
#1F488C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#1F488C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F488C
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F488C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F488C | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234F8F
Deuteranopia (green-blind)
#03458B
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f488c; /* rgb */ color: rgb(31, 72, 140); /* oklch */ color: oklch(41.2% 0.122 260.0);
Tailwind
colors: {
custom: {
50: '#6b7aae',
500: '#1f488c',
950: '#000000',
},
}SCSS
$custom: #1f488c; $custom-light: #6b7aae; $custom-dark: #000000;
JSON
{
"hex": "#1f488c",
"rgb": {
"r": 31,
"g": 72,
"b": 140
},
"hsl": {
"h": 217.431,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.41213,
"c": 0.12222,
"h": 260
},
"luminance": 0.06819
}Semantic roles & 50–950 ramp
primary
#1F488C
secondary
#BB914C
accent
#A841E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F