#1F3F91#1F3F91
#1F3F91 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.6% C 0.141 H 264.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3F91 |
|---|---|
| RGB | rgb(31, 63, 145) |
| HSL | hsl(223, 65%, 35%) |
| HSV | hsv(223, 79%, 57%) |
| CMYK | cmyk(78.6%, 56.6%, 0%, 43.1%) |
| CIE-LAB | lab(29.13, 19.46, -48.65) |
| CIE-LCH | lch(29.13, 52.39, 291.80°) |
| OKLab | oklab(39.61% -0.0133 -0.1403) |
| OKLCH | oklch(39.61% 0.141 264.6) |
| XYZ | xyz(7.4516, 5.8898, 27.5267) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.48
Cobalt
#0047AB
ΔE00 4.32
Darkish Blue
#014182
ΔE00 4.35
Sapphire (survey)
#2138AB
ΔE00 5.13
Twilight Blue
#0A437A
ΔE00 5.48
Blueberry
#464196
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3F91 #91711F
analogous
#1F7891 #1F3F91 #381F91
triadic
#1F3F91 #911F3F #3F911F
tetradic
#1F3F91 #911F78 #91711F #1F9138
square
#1F3F91 #911F78 #91711F #1F9138
split-complementary
#1F3F91 #91381F #78911F
monochromatic
#09132C #14295F #1F3F91 #2A55C3 #5177DA
Accessibility & contrast
On white
9.64
#1F3F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F3F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3F91
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3F91 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3f91; /* rgb */ color: rgb(31, 63, 145); /* oklch */ color: oklch(39.6% 0.141 264.6);
Tailwind
colors: {
custom: {
50: '#6d73b2',
500: '#1f3f91',
950: '#000000',
},
}SCSS
$custom: #1f3f91; $custom-light: #6d73b2; $custom-dark: #000000;
JSON
{
"hex": "#1f3f91",
"rgb": {
"r": 31,
"g": 63,
"b": 145
},
"hsl": {
"h": 223.158,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.39609,
"c": 0.14094,
"h": 264.6
},
"luminance": 0.05891
}Semantic roles & 50–950 ramp
primary
#1F3F91
secondary
#BD9E4F
accent
#B940E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80