#1F3B95#1F3B95
#1F3B95 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.1% C 0.152 H 266.2°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3B95 |
|---|---|
| RGB | rgb(31, 59, 149) |
| HSL | hsl(226, 66%, 35%) |
| HSV | hsv(226, 79%, 58%) |
| CMYK | cmyk(79.2%, 60.4%, 0%, 41.6%) |
| CIE-LAB | lab(28.35, 23.79, -52.38) |
| CIE-LCH | lch(28.35, 57.53, 294.43°) |
| OKLab | oklab(39.12% -0.0102 -0.1513) |
| OKLCH | oklch(39.12% 0.152 266.2) |
| XYZ | xyz(7.5519, 5.5883, 29.1086) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.73
Cobalt
#0047AB
ΔE00 5.02
Cobalt (survey)
#1E488F
ΔE00 5.13
Blueberry
#464196
ΔE00 5.62
Darkish Blue
#014182
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3B95 #95791F
analogous
#1F7695 #1F3B95 #3E1F95
triadic
#1F3B95 #951F3B #3B951F
tetradic
#1F3B95 #951F76 #95791F #1F953E
square
#1F3B95 #951F76 #95791F #1F953E
split-complementary
#1F3B95 #953E1F #76951F
monochromatic
#0A1330 #142762 #1F3B95 #2A4FC8 #5373DB
Accessibility & contrast
On white
9.92
#1F3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#1F3B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3B95
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3B95 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3b95; /* rgb */ color: rgb(31, 59, 149); /* oklch */ color: oklch(39.1% 0.152 266.2);
Tailwind
colors: {
custom: {
50: '#6e70b5',
500: '#1f3b95',
950: '#000000',
},
}SCSS
$custom: #1f3b95; $custom-light: #6e70b5; $custom-dark: #000000;
JSON
{
"hex": "#1f3b95",
"rgb": {
"r": 31,
"g": 59,
"b": 149
},
"hsl": {
"h": 225.763,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.39123,
"c": 0.15167,
"h": 266.2
},
"luminance": 0.05589
}Semantic roles & 50–950 ramp
primary
#1F3B95
secondary
#BFA551
accent
#C03FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80