#1F498A#1F498A
#1F498A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.118 H 259.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1F498A |
|---|---|
| RGB | rgb(31, 73, 138) |
| HSL | hsl(216, 63%, 33%) |
| HSV | hsv(216, 78%, 54%) |
| CMYK | cmyk(77.5%, 47.1%, 0%, 45.9%) |
| CIE-LAB | lab(31.56, 9.79, -40.43) |
| CIE-LCH | lch(31.56, 41.60, 283.62°) |
| OKLab | oklab(41.3% -0.0225 -0.1159) |
| OKLCH | oklch(41.3% 0.118 259) |
| XYZ | xyz(7.5334, 6.8905, 24.9728) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.88
Darkish Blue
#014182
ΔE00 2.98
Twilight Blue
#0A437A
ΔE00 3.26
Dusk Blue
#26538D
ΔE00 3.37
Light Navy
#155084
ΔE00 4.02
Prussian Blue
#004577
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F498A #8A601F
analogous
#1F7E8A #1F498A #2B1F8A
triadic
#1F498A #8A1F49 #498A1F
tetradic
#1F498A #8A1F7E #8A601F #1F8A2B
square
#1F498A #8A1F7E #8A601F #1F8A2B
split-complementary
#1F498A #8A2B1F #7E8A1F
monochromatic
#091426 #142F58 #1F498A #2A63BC #4C83D7
Accessibility & contrast
On white
8.83
#1F498A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1F498A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F498A
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F498A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F498A | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274F8C
Deuteranopia (green-blind)
#0E4689
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1f498a; /* rgb */ color: rgb(31, 73, 138); /* oklch */ color: oklch(41.3% 0.118 259.0);
Tailwind
colors: {
custom: {
50: '#6b7bad',
500: '#1f498a',
950: '#000000',
},
}SCSS
$custom: #1f498a; $custom-light: #6b7bad; $custom-dark: #000000;
JSON
{
"hex": "#1f498a",
"rgb": {
"r": 31,
"g": 73,
"b": 138
},
"hsl": {
"h": 216.449,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.41297,
"c": 0.1181,
"h": 259
},
"luminance": 0.06891
}Semantic roles & 50–950 ramp
primary
#1F498A
secondary
#BA8E4B
accent
#A641E6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F