#1F328E#1F328E
#1F328E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.153 H 268.4°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F328E |
|---|---|
| RGB | rgb(31, 50, 142) |
| HSL | hsl(230, 64%, 34%) |
| HSV | hsv(230, 78%, 56%) |
| CMYK | cmyk(78.2%, 64.8%, 0%, 44.3%) |
| CIE-LAB | lab(25.34, 27.20, -52.99) |
| CIE-LCH | lch(25.34, 59.56, 297.17°) |
| OKLab | oklab(36.7% -0.0042 -0.1532) |
| OKLCH | oklch(36.7% 0.153 268.4) |
| XYZ | xyz(6.5865, 4.5248, 26.1122) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.35
Blueberry
#464196
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.57
Royal
#0C1793
ΔE00 7.20
Midnight Blue
#191970
ΔE00 7.76
Darkish Blue
#014182
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F328E #8E7B1F
analogous
#1F6A8E #1F328E #441F8E
triadic
#1F328E #8E1F32 #328E1F
tetradic
#1F328E #8E1F6A #8E7B1F #1F8E44
square
#1F328E #8E1F6A #8E7B1F #1F8E44
split-complementary
#1F328E #8E441F #6A8E1F
monochromatic
#090F2A #14205C #1F328E #2A44C0 #4F66D9
Accessibility & contrast
On white
11.02
#1F328E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1F328E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F328E
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F328E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F328E | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f328e; /* rgb */ color: rgb(31, 50, 142); /* oklch */ color: oklch(36.7% 0.153 268.4);
Tailwind
colors: {
custom: {
50: '#6d69b0',
500: '#1f328e',
950: '#000000',
},
}SCSS
$custom: #1f328e; $custom-light: #6d69b0; $custom-dark: #000000;
JSON
{
"hex": "#1f328e",
"rgb": {
"r": 31,
"g": 50,
"b": 142
},
"hsl": {
"h": 229.73,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.36697,
"c": 0.1533,
"h": 268.4
},
"luminance": 0.04526
}Semantic roles & 50–950 ramp
primary
#1F328E
secondary
#BBA94D
accent
#CB41E7
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80