#1F3E9A#1F3E9A
#1F3E9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.155 H 265.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3E9A |
|---|---|
| RGB | rgb(31, 62, 154) |
| HSL | hsl(225, 66%, 36%) |
| HSV | hsv(225, 80%, 60%) |
| CMYK | cmyk(79.9%, 59.7%, 0%, 39.6%) |
| CIE-LAB | lab(29.59, 23.71, -53.41) |
| CIE-LCH | lch(29.59, 58.44, 293.94°) |
| OKLab | oklab(40.18% -0.0121 -0.1543) |
| OKLCH | oklch(40.18% 0.155 265.5) |
| XYZ | xyz(8.1184, 6.0687, 31.3091) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.63
Cobalt
#0047AB
ΔE00 3.98
Cobalt (survey)
#1E488F
ΔE00 4.49
Darkish Blue
#014182
ΔE00 5.61
Blueberry
#464196
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3E9A #9A7B1F
analogous
#1F7C9A #1F3E9A #3E1F9A
triadic
#1F3E9A #9A1F3E #3E9A1F
tetradic
#1F3E9A #9A1F7C #9A7B1F #1F9A3E
square
#1F3E9A #9A1F7C #9A7B1F #1F9A3E
split-complementary
#1F3E9A #9A3E1F #7C9A1F
monochromatic
#0A1534 #152967 #1F3E9A #2953CD #5678DD
Accessibility & contrast
On white
9.49
#1F3E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#1F3E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3E9A
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3E9A | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #1f3e9a; /* rgb */ color: rgb(31, 62, 154); /* oklch */ color: oklch(40.2% 0.155 265.5);
Tailwind
colors: {
custom: {
50: '#7072b9',
500: '#1f3e9a',
950: '#000000',
},
}SCSS
$custom: #1f3e9a; $custom-light: #7072b9; $custom-dark: #000000;
JSON
{
"hex": "#1f3e9a",
"rgb": {
"r": 31,
"g": 62,
"b": 154
},
"hsl": {
"h": 224.878,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.40178,
"c": 0.1548,
"h": 265.5
},
"luminance": 0.0607
}Semantic roles & 50–950 ramp
primary
#1F3E9A
secondary
#C1A554
accent
#BE3EE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80