#1F3373#1F3373
#1F3373 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.113 H 267.2°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3373 |
|---|---|
| RGB | rgb(31, 51, 115) |
| HSL | hsl(226, 58%, 29%) |
| HSV | hsv(226, 73%, 45%) |
| CMYK | cmyk(73%, 55.7%, 0%, 54.9%) |
| CIE-LAB | lab(23.33, 15.85, -39.28) |
| CIE-LCH | lch(23.33, 42.36, 291.97°) |
| OKLab | oklab(34.48% -0.0056 -0.113) |
| OKLCH | oklch(34.48% 0.113 267.2) |
| XYZ | xyz(4.8423, 3.8963, 16.7132) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.35
Marine Blue
#01386A
ΔE00 5.40
Darkish Blue
#014182
ΔE00 6.53
Twilight Blue
#0A437A
ΔE00 7.25
Navy Blue
#1B2A4A
ΔE00 7.50
Cobalt (survey)
#1E488F
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3373 #735F1F
analogous
#1F5D73 #1F3373 #351F73
triadic
#1F3373 #731F33 #33731F
tetradic
#1F3373 #731F5D #735F1F #1F7335
square
#1F3373 #731F5D #735F1F #1F7335
split-complementary
#1F3373 #73351F #5D731F
monochromatic
#060B18 #121E43 #1F3373 #2C48A3 #4162CC
Accessibility & contrast
On white
11.80
#1F3373 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#1F3373 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3373
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3373 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3373 | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#063C75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #1f3373; /* rgb */ color: rgb(31, 51, 115); /* oklch */ color: oklch(34.5% 0.113 267.2);
Tailwind
colors: {
custom: {
50: '#666a9c',
500: '#1f3373',
950: '#000000',
},
}SCSS
$custom: #1f3373; $custom-light: #666a9c; $custom-dark: #000000;
JSON
{
"hex": "#1f3373",
"rgb": {
"r": 31,
"g": 51,
"b": 115
},
"hsl": {
"h": 225.714,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.34483,
"c": 0.11311,
"h": 267.2
},
"luminance": 0.03897
}Semantic roles & 50–950 ramp
primary
#1F3373
secondary
#A79047
accent
#BC47E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E