#1F328F#1F328F
#1F328F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.155 H 268.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F328F |
|---|---|
| RGB | rgb(31, 50, 143) |
| HSL | hsl(230, 64%, 34%) |
| HSV | hsv(230, 78%, 56%) |
| CMYK | cmyk(78.3%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(25.43, 27.59, -53.46) |
| CIE-LCH | lch(25.43, 60.16, 297.30°) |
| OKLab | oklab(36.79% -0.0042 -0.1546) |
| OKLCH | oklch(36.79% 0.155 268.4) |
| XYZ | xyz(6.6619, 4.5549, 26.5094) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Blueberry
#464196
ΔE00 6.25
Darkslateblue
#483D8B
ΔE00 6.58
Royal
#0C1793
ΔE00 7.15
Cobalt
#0047AB
ΔE00 7.77
Midnight Blue
#191970
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F328F #8F7C1F
analogous
#1F6A8F #1F328F #441F8F
triadic
#1F328F #8F1F32 #328F1F
tetradic
#1F328F #8F1F6A #8F7C1F #1F8F44
square
#1F328F #8F1F6A #8F7C1F #1F8F44
split-complementary
#1F328F #8F441F #6A8F1F
monochromatic
#090F2A #14205D #1F328F #2A44C1 #4F67D9
Accessibility & contrast
On white
10.99
#1F328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1F328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F328F
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F328F | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f328f; /* rgb */ color: rgb(31, 50, 143); /* oklch */ color: oklch(36.8% 0.155 268.4);
Tailwind
colors: {
custom: {
50: '#6e69b1',
500: '#1f328f',
950: '#000000',
},
}SCSS
$custom: #1f328f; $custom-light: #6e69b1; $custom-dark: #000000;
JSON
{
"hex": "#1f328f",
"rgb": {
"r": 31,
"g": 50,
"b": 143
},
"hsl": {
"h": 229.821,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.36792,
"c": 0.15467,
"h": 268.4
},
"luminance": 0.04556
}Semantic roles & 50–950 ramp
primary
#1F328F
secondary
#BCA94E
accent
#CB40E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80