#1F358D#1F358D
#1F358D is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.148 H 267.6°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1F358D |
|---|---|
| RGB | rgb(31, 53, 141) |
| HSL | hsl(228, 64%, 34%) |
| HSV | hsv(228, 78%, 55%) |
| CMYK | cmyk(78%, 62.4%, 0%, 44.7%) |
| CIE-LAB | lab(26.04, 24.77, -51.22) |
| CIE-LCH | lch(26.04, 56.89, 295.80°) |
| OKLab | oklab(37.19% -0.0062 -0.148) |
| OKLCH | oklch(37.19% 0.148 267.6) |
| XYZ | xyz(6.6442, 4.7599, 25.7627) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.44
Blueberry
#464196
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.49
Darkish Blue
#014182
ΔE00 6.80
Cobalt (survey)
#1E488F
ΔE00 6.81
Cobalt
#0047AB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F358D #8D771F
analogous
#1F6C8D #1F358D #401F8D
triadic
#1F358D #8D1F35 #358D1F
tetradic
#1F358D #8D1F6C #8D771F #1F8D40
square
#1F358D #8D1F6C #8D771F #1F8D40
split-complementary
#1F358D #8D401F #6C8D1F
monochromatic
#090F29 #14225B #1F358D #2A48BF #4E6AD8
Accessibility & contrast
On white
10.76
#1F358D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1F358D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F358D
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F358D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F358D | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f358d; /* rgb */ color: rgb(31, 53, 141); /* oklch */ color: oklch(37.2% 0.148 267.6);
Tailwind
colors: {
custom: {
50: '#6d6caf',
500: '#1f358d',
950: '#000000',
},
}SCSS
$custom: #1f358d; $custom-light: #6d6caf; $custom-dark: #000000;
JSON
{
"hex": "#1f358d",
"rgb": {
"r": 31,
"g": 53,
"b": 141
},
"hsl": {
"h": 228,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.3719,
"c": 0.14815,
"h": 267.6
},
"luminance": 0.04761
}Semantic roles & 50–950 ramp
primary
#1F358D
secondary
#BBA54D
accent
#C641E7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F