#1F498F#1F498F
#1F498F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.125 H 260.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F498F |
|---|---|
| RGB | rgb(31, 73, 143) |
| HSL | hsl(218, 64%, 34%) |
| HSV | hsv(218, 78%, 56%) |
| CMYK | cmyk(78.3%, 49%, 0%, 43.9%) |
| CIE-LAB | lab(31.89, 11.80, -42.95) |
| CIE-LCH | lch(31.89, 44.54, 285.36°) |
| OKLab | oklab(41.67% -0.0216 -0.1234) |
| OKLCH | oklch(41.67% 0.125 260.1) |
| XYZ | xyz(7.9037, 7.0387, 26.9233) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.33
Darkish Blue
#014182
ΔE00 3.34
Dusk Blue
#26538D
ΔE00 3.52
Cobalt
#0047AB
ΔE00 3.82
Twilight Blue
#0A437A
ΔE00 3.83
Light Navy
#155084
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F498F #8F651F
analogous
#1F818F #1F498F #2D1F8F
triadic
#1F498F #8F1F49 #498F1F
tetradic
#1F498F #8F1F81 #8F651F #1F8F2D
square
#1F498F #8F1F81 #8F651F #1F8F2D
split-complementary
#1F498F #8F2D1F #818F1F
monochromatic
#09162A #142F5D #1F498F #2A63C1 #4F83D9
Accessibility & contrast
On white
8.72
#1F498F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#1F498F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F498F
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F498F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F498F | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f498f; /* rgb */ color: rgb(31, 73, 143); /* oklch */ color: oklch(41.7% 0.125 260.1);
Tailwind
colors: {
custom: {
50: '#6c7bb0',
500: '#1f498f',
950: '#000000',
},
}SCSS
$custom: #1f498f; $custom-light: #6c7bb0; $custom-dark: #000000;
JSON
{
"hex": "#1f498f",
"rgb": {
"r": 31,
"g": 73,
"b": 143
},
"hsl": {
"h": 217.5,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.41666,
"c": 0.12525,
"h": 260.1
},
"luminance": 0.0704
}Semantic roles & 50–950 ramp
primary
#1F498F
secondary
#BC934E
accent
#A940E7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F