#1F328C#1F328C
#1F328C is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.151 H 268.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1F328C |
|---|---|
| RGB | rgb(31, 50, 140) |
| HSL | hsl(230, 64%, 34%) |
| HSV | hsv(230, 78%, 55%) |
| CMYK | cmyk(77.9%, 64.3%, 0%, 45.1%) |
| CIE-LAB | lab(25.15, 26.43, -52.05) |
| CIE-LCH | lch(25.15, 58.37, 296.92°) |
| OKLab | oklab(36.51% -0.0041 -0.1505) |
| OKLCH | oklch(36.51% 0.151 268.4) |
| XYZ | xyz(6.4377, 4.4653, 25.3285) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.64
Blueberry
#464196
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.57
Royal
#0C1793
ΔE00 7.33
Darkish Blue
#014182
ΔE00 7.66
Midnight Blue
#191970
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F328C #8C791F
analogous
#1F688C #1F328C #421F8C
triadic
#1F328C #8C1F32 #328C1F
tetradic
#1F328C #8C1F68 #8C791F #1F8C42
square
#1F328C #8C1F68 #8C791F #1F8C42
split-complementary
#1F328C #8C421F #688C1F
monochromatic
#090E28 #14205A #1F328C #2A44BE #4E66D8
Accessibility & contrast
On white
11.09
#1F328C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F328C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F328C
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F328C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F328C | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f328c; /* rgb */ color: rgb(31, 50, 140); /* oklch */ color: oklch(36.5% 0.151 268.4);
Tailwind
colors: {
custom: {
50: '#6d69ae',
500: '#1f328c',
950: '#000000',
},
}SCSS
$custom: #1f328c; $custom-light: #6d69ae; $custom-dark: #000000;
JSON
{
"hex": "#1f328c",
"rgb": {
"r": 31,
"g": 50,
"b": 140
},
"hsl": {
"h": 229.541,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.36506,
"c": 0.15054,
"h": 268.4
},
"luminance": 0.04466
}Semantic roles & 50–950 ramp
primary
#1F328C
secondary
#BBA74C
accent
#CA41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F