#1F359C#1F359C
#1F359C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.169 H 267.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1F359C |
|---|---|
| RGB | rgb(31, 53, 156) |
| HSL | hsl(229, 67%, 37%) |
| HSV | hsv(229, 80%, 61%) |
| CMYK | cmyk(80.1%, 66%, 0%, 38.8%) |
| CIE-LAB | lab(27.40, 30.56, -58.21) |
| CIE-LCH | lch(27.40, 65.74, 297.70°) |
| OKLab | oklab(38.61% -0.0065 -0.1685) |
| OKLCH | oklch(38.61% 0.169 267.8) |
| XYZ | xyz(7.8368, 5.2369, 32.0438) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.23
Blueberry
#464196
ΔE00 5.82
Cobalt
#0047AB
ΔE00 6.55
Blue Blue
#2242C7
ΔE00 6.71
Darkslateblue
#483D8B
ΔE00 6.78
Ocean Blue
#4F42B5
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F359C #9C861F
analogous
#1F749C #1F359C #481F9C
triadic
#1F359C #9C1F35 #359C1F
tetradic
#1F359C #9C1F74 #9C861F #1F9C48
square
#1F359C #9C1F74 #9C861F #1F9C48
split-complementary
#1F359C #9C481F #749C1F
monochromatic
#0B1236 #152469 #1F359C #2946CF #586FDE
Accessibility & contrast
On white
10.26
#1F359C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#1F359C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F359C
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F359C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F359C | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1f359c; /* rgb */ color: rgb(31, 53, 156); /* oklch */ color: oklch(38.6% 0.169 267.8);
Tailwind
colors: {
custom: {
50: '#716cba',
500: '#1f359c',
950: '#000000',
},
}SCSS
$custom: #1f359c; $custom-light: #716cba; $custom-dark: #000000;
JSON
{
"hex": "#1f359c",
"rgb": {
"r": 31,
"g": 53,
"b": 156
},
"hsl": {
"h": 229.44,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.38612,
"c": 0.16861,
"h": 267.8
},
"luminance": 0.05238
}Semantic roles & 50–950 ramp
primary
#1F359C
secondary
#C1AE55
accent
#CC3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81