#1F4299#1F4299
#1F4299 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.148 H 264.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4299 |
|---|---|
| RGB | rgb(31, 66, 153) |
| HSL | hsl(223, 66%, 36%) |
| HSV | hsv(223, 80%, 60%) |
| CMYK | cmyk(79.7%, 56.9%, 0%, 40%) |
| CIE-LAB | lab(30.61, 20.58, -51.14) |
| CIE-LCH | lch(30.61, 55.12, 291.92°) |
| OKLab | oklab(40.92% -0.0149 -0.1476) |
| OKLCH | oklch(40.92% 0.148 264.2) |
| XYZ | xyz(8.2610, 6.4867, 30.9475) |
| Luminance | 0.0649 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.06
Cobalt (survey)
#1E488F
ΔE00 3.10
Darkish Blue
#014182
ΔE00 4.74
Sapphire (survey)
#2138AB
ΔE00 4.85
Twilight Blue
#0A437A
ΔE00 5.81
Blueberry
#464196
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4299 #99761F
analogous
#1F7F99 #1F4299 #391F99
triadic
#1F4299 #991F42 #42991F
tetradic
#1F4299 #991F7F #99761F #1F9939
square
#1F4299 #991F7F #99761F #1F9939
split-complementary
#1F4299 #99391F #7F991F
monochromatic
#0A1633 #152C66 #1F4299 #2958CC #567CDD
Accessibility & contrast
On white
9.14
#1F4299 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F4299 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4299
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4299 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4299 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f4299; /* rgb */ color: rgb(31, 66, 153); /* oklch */ color: oklch(40.9% 0.148 264.2);
Tailwind
colors: {
custom: {
50: '#6f75b8',
500: '#1f4299',
950: '#000000',
},
}SCSS
$custom: #1f4299; $custom-light: #6f75b8; $custom-dark: #000000;
JSON
{
"hex": "#1f4299",
"rgb": {
"r": 31,
"g": 66,
"b": 153
},
"hsl": {
"h": 222.787,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.40921,
"c": 0.14833,
"h": 264.2
},
"luminance": 0.06488
}Semantic roles & 50–950 ramp
primary
#1F4299
secondary
#C0A154
accent
#B83FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80