#1F3E95#1F3E95
#1F3E95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.148 H 265.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E95 |
|---|---|
| RGB | rgb(31, 62, 149) |
| HSL | hsl(224, 66%, 35%) |
| HSV | hsv(224, 79%, 58%) |
| CMYK | cmyk(79.2%, 58.4%, 0%, 41.6%) |
| CIE-LAB | lab(29.17, 21.74, -51.03) |
| CIE-LCH | lch(29.17, 55.47, 293.07°) |
| OKLab | oklab(39.74% -0.0123 -0.1473) |
| OKLCH | oklch(39.74% 0.148 265.2) |
| XYZ | xyz(7.7106, 5.9056, 29.1615) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.25
Sapphire (survey)
#2138AB
ΔE00 4.33
Darkish Blue
#014182
ΔE00 5.03
Blueberry
#464196
ΔE00 5.81
Twilight Blue
#0A437A
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E95 #95761F
analogous
#1F7995 #1F3E95 #3B1F95
triadic
#1F3E95 #951F3E #3E951F
tetradic
#1F3E95 #951F79 #95761F #1F953B
square
#1F3E95 #951F79 #95761F #1F953B
split-complementary
#1F3E95 #953B1F #79951F
monochromatic
#0A1430 #142962 #1F3E95 #2A53C8 #5377DB
Accessibility & contrast
On white
9.63
#1F3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F3E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E95
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E95 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3e95; /* rgb */ color: rgb(31, 62, 149); /* oklch */ color: oklch(39.7% 0.148 265.2);
Tailwind
colors: {
custom: {
50: '#6e72b5',
500: '#1f3e95',
950: '#000000',
},
}SCSS
$custom: #1f3e95; $custom-light: #6e72b5; $custom-dark: #000000;
JSON
{
"hex": "#1f3e95",
"rgb": {
"r": 31,
"g": 62,
"b": 149
},
"hsl": {
"h": 224.237,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.3974,
"c": 0.14785,
"h": 265.2
},
"luminance": 0.05906
}Semantic roles & 50–950 ramp
primary
#1F3E95
secondary
#BFA251
accent
#BC3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80