#1F329E#1F329E
#1F329E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.175 H 268.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1F329E |
|---|---|
| RGB | rgb(31, 50, 158) |
| HSL | hsl(231, 67%, 37%) |
| HSV | hsv(231, 80%, 62%) |
| CMYK | cmyk(80.4%, 68.4%, 0%, 38%) |
| CIE-LAB | lab(26.85, 33.28, -60.33) |
| CIE-LCH | lch(26.85, 68.90, 298.89°) |
| OKLab | oklab(38.27% -0.0051 -0.1747) |
| OKLCH | oklch(38.27% 0.175 268.3) |
| XYZ | xyz(7.8751, 5.0402, 32.8989) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.36
Blueberry
#464196
ΔE00 6.24
Royal
#0C1793
ΔE00 6.76
Blue Blue
#2242C7
ΔE00 6.92
Darkslateblue
#483D8B
ΔE00 7.05
Indigo Blue
#3A18B1
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F329E #9E8B1F
analogous
#1F719E #1F329E #4C1F9E
triadic
#1F329E #9E1F32 #329E1F
tetradic
#1F329E #9E1F71 #9E8B1F #1F9E4C
square
#1F329E #9E1F71 #9E8B1F #1F9E4C
split-complementary
#1F329E #9E4C1F #719E1F
monochromatic
#0B1238 #15226B #1F329E #2942D1 #596DDE
Accessibility & contrast
On white
10.46
#1F329E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1F329E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F329E
10.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F329E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F329E | 1.00 | 10.46 | 2.01 | 10.46 |
| #FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1f329e; /* rgb */ color: rgb(31, 50, 158); /* oklch */ color: oklch(38.3% 0.175 268.3);
Tailwind
colors: {
custom: {
50: '#726abc',
500: '#1f329e',
950: '#000000',
},
}SCSS
$custom: #1f329e; $custom-light: #726abc; $custom-dark: #000000;
JSON
{
"hex": "#1f329e",
"rgb": {
"r": 31,
"g": 50,
"b": 158
},
"hsl": {
"h": 231.024,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.38268,
"c": 0.17477,
"h": 268.3
},
"luminance": 0.05041
}Semantic roles & 50–950 ramp
primary
#1F329E
secondary
#C2B256
accent
#D03EEA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81