#1F359B#1F359B
#1F359B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.167 H 267.8°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #1F359B |
|---|---|
| RGB | rgb(31, 53, 155) |
| HSL | hsl(229, 67%, 36%) |
| HSV | hsv(229, 80%, 61%) |
| CMYK | cmyk(80%, 65.8%, 0%, 39.2%) |
| CIE-LAB | lab(27.31, 30.18, -57.75) |
| CIE-LCH | lch(27.31, 65.16, 297.59°) |
| OKLab | oklab(38.52% -0.0065 -0.1671) |
| OKLCH | oklch(38.52% 0.167 267.8) |
| XYZ | xyz(7.7525, 5.2032, 31.5997) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.37
Blueberry
#464196
ΔE00 5.81
Cobalt
#0047AB
ΔE00 6.57
Darkslateblue
#483D8B
ΔE00 6.74
Blue Blue
#2242C7
ΔE00 6.83
Cobalt (survey)
#1E488F
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F359B #9B851F
analogous
#1F739B #1F359B #471F9B
triadic
#1F359B #9B1F35 #359B1F
tetradic
#1F359B #9B1F73 #9B851F #1F9B47
square
#1F359B #9B1F73 #9B851F #1F9B47
split-complementary
#1F359B #9B471F #739B1F
monochromatic
#0B1235 #152468 #1F359B #2946CE #576FDD
Accessibility & contrast
On white
10.29
#1F359B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1F359B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F359B
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F359B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F359B | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f359b; /* rgb */ color: rgb(31, 53, 155); /* oklch */ color: oklch(38.5% 0.167 267.8);
Tailwind
colors: {
custom: {
50: '#716cb9',
500: '#1f359b',
950: '#000000',
},
}SCSS
$custom: #1f359b; $custom-light: #716cb9; $custom-dark: #000000;
JSON
{
"hex": "#1f359b",
"rgb": {
"r": 31,
"g": 53,
"b": 155
},
"hsl": {
"h": 229.355,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.38515,
"c": 0.16728,
"h": 267.8
},
"luminance": 0.05204
}Semantic roles & 50–950 ramp
primary
#1F359B
secondary
#C1AE55
accent
#CB3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81