#1F358A#1F358A
#1F358A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.144 H 267.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F358A |
|---|---|
| RGB | rgb(31, 53, 138) |
| HSL | hsl(228, 63%, 33%) |
| HSV | hsv(228, 78%, 54%) |
| CMYK | cmyk(77.5%, 61.6%, 0%, 45.9%) |
| CIE-LAB | lab(25.78, 23.59, -49.78) |
| CIE-LCH | lch(25.78, 55.09, 295.35°) |
| OKLab | oklab(36.92% -0.0062 -0.1438) |
| OKLCH | oklch(36.92% 0.144 267.5) |
| XYZ | xyz(6.4240, 4.6718, 24.6030) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.91
Blueberry
#464196
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.53
Darkish Blue
#014182
ΔE00 6.59
Cobalt (survey)
#1E488F
ΔE00 6.73
Marine Blue
#01386A
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F358A #8A741F
analogous
#1F6A8A #1F358A #3F1F8A
triadic
#1F358A #8A1F35 #358A1F
tetradic
#1F358A #8A1F6A #8A741F #1F8A3F
square
#1F358A #8A1F6A #8A741F #1F8A3F
split-complementary
#1F358A #8A3F1F #6A8A1F
monochromatic
#090F26 #142258 #1F358A #2A48BC #4C69D7
Accessibility & contrast
On white
10.86
#1F358A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#1F358A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F358A
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F358A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F358A | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f358a; /* rgb */ color: rgb(31, 53, 138); /* oklch */ color: oklch(36.9% 0.144 267.5);
Tailwind
colors: {
custom: {
50: '#6c6cad',
500: '#1f358a',
950: '#000000',
},
}SCSS
$custom: #1f358a; $custom-light: #6c6cad; $custom-dark: #000000;
JSON
{
"hex": "#1f358a",
"rgb": {
"r": 31,
"g": 53,
"b": 138
},
"hsl": {
"h": 227.664,
"s": 63.314,
"l": 33.137
},
"oklch": {
"l": 0.36915,
"c": 0.14394,
"h": 267.5
},
"luminance": 0.04672
}Semantic roles & 50–950 ramp
primary
#1F358A
secondary
#BAA34B
accent
#C441E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F