#1F4099#1F4099
#1F4099 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.151 H 264.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4099 |
|---|---|
| RGB | rgb(31, 64, 153) |
| HSL | hsl(224, 66%, 36%) |
| HSV | hsv(224, 80%, 60%) |
| CMYK | cmyk(79.7%, 58.2%, 0%, 40%) |
| CIE-LAB | lab(30.05, 21.95, -52.04) |
| CIE-LCH | lch(30.05, 56.48, 292.87°) |
| OKLab | oklab(40.5% -0.0135 -0.1503) |
| OKLCH | oklch(40.5% 0.151 264.9) |
| XYZ | xyz(8.1462, 6.2571, 30.9092) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.51
Cobalt (survey)
#1E488F
ΔE00 3.74
Sapphire (survey)
#2138AB
ΔE00 4.29
Darkish Blue
#014182
ΔE00 5.08
Blueberry
#464196
ΔE00 5.88
Twilight Blue
#0A437A
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4099 #99781F
analogous
#1F7D99 #1F4099 #3B1F99
triadic
#1F4099 #991F40 #40991F
tetradic
#1F4099 #991F7D #99781F #1F993B
square
#1F4099 #991F7D #99781F #1F993B
split-complementary
#1F4099 #993B1F #7D991F
monochromatic
#0A1533 #152B66 #1F4099 #2955CC #567ADD
Accessibility & contrast
On white
9.33
#1F4099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#1F4099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4099
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4099 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4099; /* rgb */ color: rgb(31, 64, 153); /* oklch */ color: oklch(40.5% 0.151 264.9);
Tailwind
colors: {
custom: {
50: '#6f74b8',
500: '#1f4099',
950: '#000000',
},
}SCSS
$custom: #1f4099; $custom-light: #6f74b8; $custom-dark: #000000;
JSON
{
"hex": "#1f4099",
"rgb": {
"r": 31,
"g": 64,
"b": 153
},
"hsl": {
"h": 223.77,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.40502,
"c": 0.15087,
"h": 264.9
},
"luminance": 0.06258
}Semantic roles & 50–950 ramp
primary
#1F4099
secondary
#C0A354
accent
#BB3FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80