#1F3E96#1F3E96
#1F3E96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.149 H 265.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E96 |
|---|---|
| RGB | rgb(31, 62, 150) |
| HSL | hsl(224, 66%, 35%) |
| HSV | hsv(224, 79%, 59%) |
| CMYK | cmyk(79.3%, 58.7%, 0%, 41.2%) |
| CIE-LAB | lab(29.25, 22.13, -51.51) |
| CIE-LCH | lch(29.25, 56.06, 293.25°) |
| OKLab | oklab(39.83% -0.0122 -0.1487) |
| OKLCH | oklch(39.83% 0.149 265.3) |
| XYZ | xyz(7.7908, 5.9377, 29.5837) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.19
Darkish Blue
#014182
ΔE00 5.15
Blueberry
#464196
ΔE00 5.77
Twilight Blue
#0A437A
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E96 #96771F
analogous
#1F7996 #1F3E96 #3C1F96
triadic
#1F3E96 #961F3E #3E961F
tetradic
#1F3E96 #961F79 #96771F #1F963C
square
#1F3E96 #961F79 #96771F #1F963C
split-complementary
#1F3E96 #963C1F #79961F
monochromatic
#0A1431 #152963 #1F3E96 #2953C9 #5477DC
Accessibility & contrast
On white
9.60
#1F3E96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#1F3E96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E96
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E96 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3e96; /* rgb */ color: rgb(31, 62, 150); /* oklch */ color: oklch(39.8% 0.149 265.3);
Tailwind
colors: {
custom: {
50: '#6f72b6',
500: '#1f3e96',
950: '#000000',
},
}SCSS
$custom: #1f3e96; $custom-light: #6f72b6; $custom-dark: #000000;
JSON
{
"hex": "#1f3e96",
"rgb": {
"r": 31,
"g": 62,
"b": 150
},
"hsl": {
"h": 224.37,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.39827,
"c": 0.14924,
"h": 265.3
},
"luminance": 0.05939
}Semantic roles & 50–950 ramp
primary
#1F3E96
secondary
#BFA352
accent
#BD3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80