#1F4399#1F4399
#1F4399 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.147 H 263.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4399 |
|---|---|
| RGB | rgb(31, 67, 153) |
| HSL | hsl(222, 66%, 36%) |
| HSV | hsv(222, 80%, 60%) |
| CMYK | cmyk(79.7%, 56.2%, 0%, 40%) |
| CIE-LAB | lab(30.89, 19.90, -50.68) |
| CIE-LCH | lch(30.89, 54.45, 291.43°) |
| OKLab | oklab(41.13% -0.0156 -0.1462) |
| OKLCH | oklch(41.13% 0.147 263.9) |
| XYZ | xyz(8.3200, 6.6046, 30.9671) |
| Luminance | 0.0661 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.78
Cobalt
#0047AB
ΔE00 2.87
Darkish Blue
#014182
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 5.15
Twilight Blue
#0A437A
ΔE00 5.64
Dusk Blue
#26538D
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4399 #99751F
analogous
#1F8099 #1F4399 #381F99
triadic
#1F4399 #991F43 #43991F
tetradic
#1F4399 #991F80 #99751F #1F9938
square
#1F4399 #991F80 #99751F #1F9938
split-complementary
#1F4399 #99381F #80991F
monochromatic
#0A1633 #152D66 #1F4399 #2959CC #567EDD
Accessibility & contrast
On white
9.05
#1F4399 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#1F4399 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4399
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4399 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4399 | 1.00 | 9.05 | 2.32 | 9.05 |
| #FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1f4399; /* rgb */ color: rgb(31, 67, 153); /* oklch */ color: oklch(41.1% 0.147 263.9);
Tailwind
colors: {
custom: {
50: '#6f76b8',
500: '#1f4399',
950: '#000000',
},
}SCSS
$custom: #1f4399; $custom-light: #6f76b8; $custom-dark: #000000;
JSON
{
"hex": "#1f4399",
"rgb": {
"r": 31,
"g": 67,
"b": 153
},
"hsl": {
"h": 222.295,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.41133,
"c": 0.14705,
"h": 263.9
},
"luminance": 0.06606
}Semantic roles & 50–950 ramp
primary
#1F4399
secondary
#C0A054
accent
#B73FE9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80