#1F358E#1F358E
#1F358E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.150 H 267.6°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F358E |
|---|---|
| RGB | rgb(31, 53, 142) |
| HSL | hsl(228, 64%, 34%) |
| HSV | hsv(228, 78%, 56%) |
| CMYK | cmyk(78.2%, 62.7%, 0%, 44.3%) |
| CIE-LAB | lab(26.13, 25.16, -51.69) |
| CIE-LCH | lch(26.13, 57.49, 295.95°) |
| OKLab | oklab(37.28% -0.0062 -0.1494) |
| OKLCH | oklch(37.28% 0.15 267.6) |
| XYZ | xyz(6.7190, 4.7898, 26.1563) |
| Luminance | 0.0479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.29
Blueberry
#464196
ΔE00 5.99
Darkslateblue
#483D8B
ΔE00 6.48
Cobalt (survey)
#1E488F
ΔE00 6.85
Darkish Blue
#014182
ΔE00 6.87
Cobalt
#0047AB
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F358E #8E781F
analogous
#1F6D8E #1F358E #411F8E
triadic
#1F358E #8E1F35 #358E1F
tetradic
#1F358E #8E1F6D #8E781F #1F8E41
square
#1F358E #8E1F6D #8E781F #1F8E41
split-complementary
#1F358E #8E411F #6D8E1F
monochromatic
#09102A #14225C #1F358E #2A48C0 #4F6AD9
Accessibility & contrast
On white
10.72
#1F358E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#1F358E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F358E
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F358E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F358E | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1f358e; /* rgb */ color: rgb(31, 53, 142); /* oklch */ color: oklch(37.3% 0.150 267.6);
Tailwind
colors: {
custom: {
50: '#6d6cb0',
500: '#1f358e',
950: '#000000',
},
}SCSS
$custom: #1f358e; $custom-light: #6d6cb0; $custom-dark: #000000;
JSON
{
"hex": "#1f358e",
"rgb": {
"r": 31,
"g": 53,
"b": 142
},
"hsl": {
"h": 228.108,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.37282,
"c": 0.14954,
"h": 267.6
},
"luminance": 0.04791
}Semantic roles & 50–950 ramp
primary
#1F358E
secondary
#BBA64D
accent
#C641E7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80