#1F3893#1F3893
#1F3893 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.153 H 266.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3893 |
|---|---|
| RGB | rgb(31, 56, 147) |
| HSL | hsl(227, 65%, 35%) |
| HSV | hsv(227, 79%, 58%) |
| CMYK | cmyk(78.9%, 61.9%, 0%, 42.4%) |
| CIE-LAB | lab(27.37, 25.06, -52.75) |
| CIE-LCH | lch(27.37, 58.40, 295.41°) |
| OKLab | oklab(38.34% -0.0082 -0.1525) |
| OKLCH | oklch(38.34% 0.153 266.9) |
| XYZ | xyz(7.2439, 5.2254, 28.2249) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.65
Blueberry
#464196
ΔE00 5.67
Cobalt
#0047AB
ΔE00 5.93
Cobalt (survey)
#1E488F
ΔE00 6.04
Darkish Blue
#014182
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3893 #937A1F
analogous
#1F7293 #1F3893 #401F93
triadic
#1F3893 #931F38 #38931F
tetradic
#1F3893 #931F72 #937A1F #1F9340
square
#1F3893 #931F72 #937A1F #1F9340
split-complementary
#1F3893 #93401F #72931F
monochromatic
#0A112E #142560 #1F3893 #2A4BC6 #526FDA
Accessibility & contrast
On white
10.27
#1F3893 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#1F3893 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3893
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3893 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3893 | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1f3893; /* rgb */ color: rgb(31, 56, 147); /* oklch */ color: oklch(38.3% 0.153 266.9);
Tailwind
colors: {
custom: {
50: '#6e6eb4',
500: '#1f3893',
950: '#000000',
},
}SCSS
$custom: #1f3893; $custom-light: #6e6eb4; $custom-dark: #000000;
JSON
{
"hex": "#1f3893",
"rgb": {
"r": 31,
"g": 56,
"b": 147
},
"hsl": {
"h": 227.069,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.38339,
"c": 0.15269,
"h": 266.9
},
"luminance": 0.05226
}Semantic roles & 50–950 ramp
primary
#1F3893
secondary
#BEA650
accent
#C440E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80