#1F327C#1F327C
#1F327C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.128 H 268.1°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F327C |
|---|---|
| RGB | rgb(31, 50, 124) |
| HSL | hsl(228, 60%, 30%) |
| HSV | hsv(228, 75%, 49%) |
| CMYK | cmyk(75%, 59.7%, 0%, 51.4%) |
| CIE-LAB | lab(23.76, 20.15, -44.30) |
| CIE-LCH | lch(23.76, 48.66, 294.46°) |
| OKLab | oklab(35.04% -0.0042 -0.1277) |
| OKLCH | oklch(35.04% 0.128 268.1) |
| XYZ | xyz(5.3425, 4.0272, 19.5606) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.63
Marine Blue
#01386A
ΔE00 6.42
Darkish Blue
#014182
ΔE00 6.94
Darkslateblue
#483D8B
ΔE00 7.06
Sapphire (survey)
#2138AB
ΔE00 7.09
Blueberry
#464196
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F327C #7C691F
analogous
#1F607C #1F327C #3A1F7C
triadic
#1F327C #7C1F32 #327C1F
tetradic
#1F327C #7C1F60 #7C691F #1F7C3A
square
#1F327C #7C1F60 #7C691F #1F7C3A
split-complementary
#1F327C #7C3A1F #607C1F
monochromatic
#070B1A #131E4B #1F327C #2B46AD #4561D0
Accessibility & contrast
On white
11.63
#1F327C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#1F327C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F327C
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F327C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F327C | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f327c; /* rgb */ color: rgb(31, 50, 124); /* oklch */ color: oklch(35.0% 0.128 268.1);
Tailwind
colors: {
custom: {
50: '#6969a3',
500: '#1f327c',
950: '#000000',
},
}SCSS
$custom: #1f327c; $custom-light: #6969a3; $custom-dark: #000000;
JSON
{
"hex": "#1f327c",
"rgb": {
"r": 31,
"g": 50,
"b": 124
},
"hsl": {
"h": 227.742,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.35038,
"c": 0.12781,
"h": 268.1
},
"luminance": 0.04028
}Semantic roles & 50–950 ramp
primary
#1F327C
secondary
#AF9A48
accent
#C345E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F