#1F3F95#1F3F95
#1F3F95 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.147 H 264.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3F95 |
|---|---|
| RGB | rgb(31, 63, 149) |
| HSL | hsl(224, 66%, 35%) |
| HSV | hsv(224, 79%, 58%) |
| CMYK | cmyk(79.2%, 57.7%, 0%, 41.6%) |
| CIE-LAB | lab(29.45, 21.05, -50.58) |
| CIE-LCH | lch(29.45, 54.79, 292.60°) |
| OKLab | oklab(39.95% -0.013 -0.146) |
| OKLCH | oklch(39.95% 0.147 264.9) |
| XYZ | xyz(7.7655, 6.0154, 29.1798) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.75
Cobalt
#0047AB
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.57
Darkish Blue
#014182
ΔE00 4.81
Blueberry
#464196
ΔE00 5.92
Twilight Blue
#0A437A
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3F95 #95751F
analogous
#1F7A95 #1F3F95 #3A1F95
triadic
#1F3F95 #951F3F #3F951F
tetradic
#1F3F95 #951F7A #95751F #1F953A
square
#1F3F95 #951F7A #95751F #1F953A
split-complementary
#1F3F95 #953A1F #7A951F
monochromatic
#0A1430 #142A62 #1F3F95 #2A54C8 #5378DB
Accessibility & contrast
On white
9.53
#1F3F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#1F3F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3F95
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3F95 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3f95; /* rgb */ color: rgb(31, 63, 149); /* oklch */ color: oklch(40.0% 0.147 264.9);
Tailwind
colors: {
custom: {
50: '#6e73b5',
500: '#1f3f95',
950: '#000000',
},
}SCSS
$custom: #1f3f95; $custom-light: #6e73b5; $custom-dark: #000000;
JSON
{
"hex": "#1f3f95",
"rgb": {
"r": 31,
"g": 63,
"b": 149
},
"hsl": {
"h": 223.729,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.3995,
"c": 0.14657,
"h": 264.9
},
"luminance": 0.06016
}Semantic roles & 50–950 ramp
primary
#1F3F95
secondary
#BFA151
accent
#BB3FE9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80