#1F498C#1F498C
#1F498C is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.4% C 0.121 H 259.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #1F498C |
|---|---|
| RGB | rgb(31, 73, 140) |
| HSL | hsl(217, 64%, 34%) |
| HSV | hsv(217, 78%, 55%) |
| CMYK | cmyk(77.9%, 47.9%, 0%, 45.1%) |
| CIE-LAB | lab(31.69, 10.59, -41.44) |
| CIE-LCH | lch(31.69, 42.78, 284.34°) |
| OKLab | oklab(41.44% -0.0221 -0.1189) |
| OKLCH | oklch(41.44% 0.121 259.5) |
| XYZ | xyz(7.6795, 6.9490, 25.7424) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.61
Darkish Blue
#014182
ΔE00 3.11
Dusk Blue
#26538D
ΔE00 3.42
Twilight Blue
#0A437A
ΔE00 3.49
Light Navy
#155084
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F498C #8C621F
analogous
#1F7F8C #1F498C #2B1F8C
triadic
#1F498C #8C1F49 #498C1F
tetradic
#1F498C #8C1F7F #8C621F #1F8C2B
square
#1F498C #8C1F7F #8C621F #1F8C2B
split-complementary
#1F498C #8C2B1F #7F8C1F
monochromatic
#091528 #142F5A #1F498C #2A63BE #4E83D8
Accessibility & contrast
On white
8.79
#1F498C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#1F498C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F498C
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F498C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F498C | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25508F
Deuteranopia (green-blind)
#09468B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f498c; /* rgb */ color: rgb(31, 73, 140); /* oklch */ color: oklch(41.4% 0.121 259.5);
Tailwind
colors: {
custom: {
50: '#6b7bae',
500: '#1f498c',
950: '#000000',
},
}SCSS
$custom: #1f498c; $custom-light: #6b7bae; $custom-dark: #000000;
JSON
{
"hex": "#1f498c",
"rgb": {
"r": 31,
"g": 73,
"b": 140
},
"hsl": {
"h": 216.881,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.41443,
"c": 0.12096,
"h": 259.5
},
"luminance": 0.0695
}Semantic roles & 50–950 ramp
primary
#1F498C
secondary
#BB904C
accent
#A741E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F