#1F3E99#1F3E99
#1F3E99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.153 H 265.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E99 |
|---|---|
| RGB | rgb(31, 62, 153) |
| HSL | hsl(225, 66%, 36%) |
| HSV | hsv(225, 80%, 60%) |
| CMYK | cmyk(79.7%, 59.5%, 0%, 40%) |
| CIE-LAB | lab(29.50, 23.32, -52.94) |
| CIE-LCH | lch(29.50, 57.85, 293.77°) |
| OKLab | oklab(40.09% -0.0121 -0.1529) |
| OKLCH | oklch(40.09% 0.153 265.5) |
| XYZ | xyz(8.0354, 6.0355, 30.8723) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.41
Darkish Blue
#014182
ΔE00 5.49
Blueberry
#464196
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E99 #997A1F
analogous
#1F7B99 #1F3E99 #3D1F99
triadic
#1F3E99 #991F3E #3E991F
tetradic
#1F3E99 #991F7B #997A1F #1F993D
square
#1F3E99 #991F7B #997A1F #1F993D
split-complementary
#1F3E99 #993D1F #7B991F
monochromatic
#0A1533 #152966 #1F3E99 #2953CC #5678DD
Accessibility & contrast
On white
9.51
#1F3E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1F3E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E99
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E99 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3e99; /* rgb */ color: rgb(31, 62, 153); /* oklch */ color: oklch(40.1% 0.153 265.5);
Tailwind
colors: {
custom: {
50: '#6f72b8',
500: '#1f3e99',
950: '#000000',
},
}SCSS
$custom: #1f3e99; $custom-light: #6f72b8; $custom-dark: #000000;
JSON
{
"hex": "#1f3e99",
"rgb": {
"r": 31,
"g": 62,
"b": 153
},
"hsl": {
"h": 224.754,
"s": 66.304,
"l": 36.078
},
"oklch": {
"l": 0.4009,
"c": 0.15342,
"h": 265.5
},
"luminance": 0.06036
}Semantic roles & 50–950 ramp
primary
#1F3E99
secondary
#C0A554
accent
#BE3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80