#1F498D#1F498D
#1F498D is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.5% C 0.122 H 259.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F498D |
|---|---|
| RGB | rgb(31, 73, 141) |
| HSL | hsl(217, 64%, 34%) |
| HSV | hsv(217, 78%, 55%) |
| CMYK | cmyk(78%, 48.2%, 0%, 44.7%) |
| CIE-LAB | lab(31.76, 11.00, -41.95) |
| CIE-LCH | lch(31.76, 43.37, 284.69°) |
| OKLab | oklab(41.52% -0.0219 -0.1204) |
| OKLCH | oklch(41.52% 0.122 259.7) |
| XYZ | xyz(7.7536, 6.9786, 26.1325) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.49
Darkish Blue
#014182
ΔE00 3.18
Dusk Blue
#26538D
ΔE00 3.45
Twilight Blue
#0A437A
ΔE00 3.60
Cobalt
#0047AB
ΔE00 4.07
Light Navy
#155084
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F498D #8D631F
analogous
#1F808D #1F498D #2C1F8D
triadic
#1F498D #8D1F49 #498D1F
tetradic
#1F498D #8D1F80 #8D631F #1F8D2C
square
#1F498D #8D1F80 #8D631F #1F8D2C
split-complementary
#1F498D #8D2C1F #808D1F
monochromatic
#091529 #142F5B #1F498D #2A63BF #4E83D8
Accessibility & contrast
On white
8.77
#1F498D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#1F498D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F498D
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F498D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F498D | 1.00 | 8.77 | 2.40 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#05468C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f498d; /* rgb */ color: rgb(31, 73, 141); /* oklch */ color: oklch(41.5% 0.122 259.7);
Tailwind
colors: {
custom: {
50: '#6c7baf',
500: '#1f498d',
950: '#000000',
},
}SCSS
$custom: #1f498d; $custom-light: #6c7baf; $custom-dark: #000000;
JSON
{
"hex": "#1f498d",
"rgb": {
"r": 31,
"g": 73,
"b": 141
},
"hsl": {
"h": 217.091,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.41517,
"c": 0.12239,
"h": 259.7
},
"luminance": 0.06979
}Semantic roles & 50–950 ramp
primary
#1F498D
secondary
#BB914D
accent
#A841E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F