#1F3A93#1F3A93
#1F3A93 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.150 H 266.4°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3A93 |
|---|---|
| RGB | rgb(31, 58, 147) |
| HSL | hsl(226, 65%, 35%) |
| HSV | hsv(226, 79%, 58%) |
| CMYK | cmyk(78.9%, 60.5%, 0%, 42.4%) |
| CIE-LAB | lab(27.91, 23.69, -51.87) |
| CIE-LCH | lch(27.91, 57.02, 294.55°) |
| OKLab | oklab(38.74% -0.0095 -0.1499) |
| OKLCH | oklch(38.74% 0.15 266.4) |
| XYZ | xyz(7.3427, 5.4232, 28.2579) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Cobalt (survey)
#1E488F
ΔE00 5.35
Cobalt
#0047AB
ΔE00 5.39
Blueberry
#464196
ΔE00 5.66
Darkish Blue
#014182
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3A93 #93781F
analogous
#1F7493 #1F3A93 #3E1F93
triadic
#1F3A93 #931F3A #3A931F
tetradic
#1F3A93 #931F74 #93781F #1F933E
square
#1F3A93 #931F74 #93781F #1F933E
split-complementary
#1F3A93 #933E1F #74931F
monochromatic
#0A122E #142660 #1F3A93 #2A4EC6 #5272DA
Accessibility & contrast
On white
10.07
#1F3A93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#1F3A93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3A93
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3A93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3A93 | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #1f3a93; /* rgb */ color: rgb(31, 58, 147); /* oklch */ color: oklch(38.7% 0.150 266.4);
Tailwind
colors: {
custom: {
50: '#6e6fb3',
500: '#1f3a93',
950: '#000000',
},
}SCSS
$custom: #1f3a93; $custom-light: #6e6fb3; $custom-dark: #000000;
JSON
{
"hex": "#1f3a93",
"rgb": {
"r": 31,
"g": 58,
"b": 147
},
"hsl": {
"h": 226.034,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.38741,
"c": 0.15016,
"h": 266.4
},
"luminance": 0.05424
}Semantic roles & 50–950 ramp
primary
#1F3A93
secondary
#BEA450
accent
#C140E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80