#1F3793#1F3793
#1F3793 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.154 H 267.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3793 |
|---|---|
| RGB | rgb(31, 55, 147) |
| HSL | hsl(228, 65%, 35%) |
| HSV | hsv(228, 79%, 58%) |
| CMYK | cmyk(78.9%, 62.6%, 0%, 42.4%) |
| CIE-LAB | lab(27.10, 25.74, -53.19) |
| CIE-LCH | lch(27.10, 59.09, 295.83°) |
| OKLab | oklab(38.14% -0.0075 -0.1538) |
| OKLCH | oklch(38.14% 0.154 267.2) |
| XYZ | xyz(7.1959, 5.1295, 28.2089) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.58
Blueberry
#464196
ΔE00 5.71
Cobalt
#0047AB
ΔE00 6.21
Cobalt (survey)
#1E488F
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.52
Darkish Blue
#014182
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3793 #937B1F
analogous
#1F7193 #1F3793 #411F93
triadic
#1F3793 #931F37 #37931F
tetradic
#1F3793 #931F71 #937B1F #1F9341
square
#1F3793 #931F71 #937B1F #1F9341
split-complementary
#1F3793 #93411F #71931F
monochromatic
#0A112E #142460 #1F3793 #2A4AC6 #526EDA
Accessibility & contrast
On white
10.37
#1F3793 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1F3793 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3793
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3793 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3793 | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f3793; /* rgb */ color: rgb(31, 55, 147); /* oklch */ color: oklch(38.1% 0.154 267.2);
Tailwind
colors: {
custom: {
50: '#6e6db4',
500: '#1f3793',
950: '#000000',
},
}SCSS
$custom: #1f3793; $custom-light: #6e6db4; $custom-dark: #000000;
JSON
{
"hex": "#1f3793",
"rgb": {
"r": 31,
"g": 55,
"b": 147
},
"hsl": {
"h": 227.586,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.3814,
"c": 0.15394,
"h": 267.2
},
"luminance": 0.0513
}Semantic roles & 50–950 ramp
primary
#1F3793
secondary
#BEA750
accent
#C540E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80