#1F327E#1F327E
#1F327E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.131 H 268.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1F327E |
|---|---|
| RGB | rgb(31, 50, 126) |
| HSL | hsl(228, 61%, 31%) |
| HSV | hsv(228, 75%, 49%) |
| CMYK | cmyk(75.4%, 60.3%, 0%, 50.6%) |
| CIE-LAB | lab(23.93, 20.94, -45.29) |
| CIE-LCH | lch(23.93, 49.89, 294.81°) |
| OKLab | oklab(35.22% -0.0041 -0.1306) |
| OKLCH | oklch(35.22% 0.131 268.2) |
| XYZ | xyz(5.4703, 4.0783, 20.2335) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.91
Marine Blue
#01386A
ΔE00 6.60
Sapphire (survey)
#2138AB
ΔE00 6.77
Darkslateblue
#483D8B
ΔE00 6.94
Darkish Blue
#014182
ΔE00 6.99
Blueberry
#464196
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F327E #7E6B1F
analogous
#1F617E #1F327E #3B1F7E
triadic
#1F327E #7E1F32 #327E1F
tetradic
#1F327E #7E1F61 #7E6B1F #1F7E3B
square
#1F327E #7E1F61 #7E6B1F #1F7E3B
split-complementary
#1F327E #7E3B1F #617E1F
monochromatic
#070B1C #131F4D #1F327E #2B45AF #4662D1
Accessibility & contrast
On white
11.57
#1F327E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1F327E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F327E
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F327E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F327E | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f327e; /* rgb */ color: rgb(31, 50, 126); /* oklch */ color: oklch(35.2% 0.131 268.2);
Tailwind
colors: {
custom: {
50: '#6969a4',
500: '#1f327e',
950: '#000000',
},
}SCSS
$custom: #1f327e; $custom-light: #6969a4; $custom-dark: #000000;
JSON
{
"hex": "#1f327e",
"rgb": {
"r": 31,
"g": 50,
"b": 126
},
"hsl": {
"h": 228,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.35216,
"c": 0.13072,
"h": 268.2
},
"luminance": 0.04079
}Semantic roles & 50–950 ramp
primary
#1F327E
secondary
#B19C48
accent
#C444E4
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F