#1F359E#1F359E
#1F359E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.171 H 267.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #1F359E |
|---|---|
| RGB | rgb(31, 53, 158) |
| HSL | hsl(230, 67%, 37%) |
| HSV | hsv(230, 80%, 62%) |
| CMYK | cmyk(80.4%, 66.5%, 0%, 38%) |
| CIE-LAB | lab(27.59, 31.32, -59.12) |
| CIE-LCH | lch(27.59, 66.90, 297.91°) |
| OKLab | oklab(38.81% -0.0066 -0.1711) |
| OKLCH | oklch(38.81% 0.171 267.8) |
| XYZ | xyz(8.0076, 5.3052, 32.9431) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.96
Blueberry
#464196
ΔE00 5.85
Blue Blue
#2242C7
ΔE00 6.48
Cobalt
#0047AB
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 6.86
Ocean Blue
#4F42B5
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F359E #9E881F
analogous
#1F759E #1F359E #481F9E
triadic
#1F359E #9E1F35 #359E1F
tetradic
#1F359E #9E1F75 #9E881F #1F9E48
square
#1F359E #9E1F75 #9E881F #1F9E48
split-complementary
#1F359E #9E481F #759E1F
monochromatic
#0B1338 #15246B #1F359E #2946D1 #5970DE
Accessibility & contrast
On white
10.19
#1F359E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#1F359E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F359E
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F359E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F359E | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1f359e; /* rgb */ color: rgb(31, 53, 158); /* oklch */ color: oklch(38.8% 0.171 267.8);
Tailwind
colors: {
custom: {
50: '#716cbc',
500: '#1f359e',
950: '#000000',
},
}SCSS
$custom: #1f359e; $custom-light: #716cbc; $custom-dark: #000000;
JSON
{
"hex": "#1f359e",
"rgb": {
"r": 31,
"g": 53,
"b": 158
},
"hsl": {
"h": 229.606,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.38808,
"c": 0.17127,
"h": 267.8
},
"luminance": 0.05306
}Semantic roles & 50–950 ramp
primary
#1F359E
secondary
#C2B056
accent
#CC3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81