#1F4298#1F4298
#1F4298 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.147 H 264.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4298 |
|---|---|
| RGB | rgb(31, 66, 152) |
| HSL | hsl(223, 66%, 36%) |
| HSV | hsv(223, 80%, 60%) |
| CMYK | cmyk(79.6%, 56.6%, 0%, 40.4%) |
| CIE-LAB | lab(30.53, 20.18, -50.66) |
| CIE-LCH | lch(30.53, 54.53, 291.72°) |
| OKLab | oklab(40.84% -0.015 -0.1462) |
| OKLCH | oklch(40.84% 0.147 264.2) |
| XYZ | xyz(8.1788, 6.4538, 30.5143) |
| Luminance | 0.0645 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.99
Cobalt
#0047AB
ΔE00 3.14
Darkish Blue
#014182
ΔE00 4.62
Sapphire (survey)
#2138AB
ΔE00 4.97
Twilight Blue
#0A437A
ΔE00 5.69
Blueberry
#464196
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4298 #98751F
analogous
#1F7E98 #1F4298 #391F98
triadic
#1F4298 #981F42 #42981F
tetradic
#1F4298 #981F7E #98751F #1F9839
square
#1F4298 #981F7E #98751F #1F9839
split-complementary
#1F4298 #98391F #7E981F
monochromatic
#0A1632 #152C65 #1F4298 #2958CB #557CDC
Accessibility & contrast
On white
9.17
#1F4298 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#1F4298 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4298
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4298 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4298 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4298; /* rgb */ color: rgb(31, 66, 152); /* oklch */ color: oklch(40.8% 0.147 264.2);
Tailwind
colors: {
custom: {
50: '#6f75b7',
500: '#1f4298',
950: '#000000',
},
}SCSS
$custom: #1f4298; $custom-light: #6f75b7; $custom-dark: #000000;
JSON
{
"hex": "#1f4298",
"rgb": {
"r": 31,
"g": 66,
"b": 152
},
"hsl": {
"h": 222.645,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.40837,
"c": 0.14693,
"h": 264.2
},
"luminance": 0.06455
}Semantic roles & 50–950 ramp
primary
#1F4298
secondary
#C0A053
accent
#B83FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80