#323E8B#323E8B
#323E8B is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.128 H 272.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #323E8B |
|---|---|
| RGB | rgb(50, 62, 139) |
| HSL | hsl(232, 47%, 37%) |
| HSV | hsv(232, 64%, 55%) |
| CMYK | cmyk(64%, 55.4%, 0%, 45.5%) |
| CIE-LAB | lab(29.38, 20.72, -44.51) |
| CIE-LCH | lch(29.38, 49.09, 294.96°) |
| OKLab | oklab(39.92% 0.0058 -0.1277) |
| OKLCH | oklch(39.92% 0.128 272.6) |
| XYZ | xyz(7.6967, 5.9868, 25.1711) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.85
Darkslateblue
#483D8B
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 5.49
Cobalt (survey)
#1E488F
ΔE00 5.51
Cobalt
#0047AB
ΔE00 6.57
Darkish Blue
#014182
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323E8B #8B7F32
analogous
#326B8B #323E8B #53328B
triadic
#323E8B #8B323E #3E8B32
tetradic
#323E8B #8B326B #8B7F32 #328B53
square
#323E8B #8B326B #8B7F32 #328B53
split-complementary
#323E8B #8B5332 #6B8B32
monochromatic
#121631 #222A5E #323E8B #4252B8 #6D7ACA
Accessibility & contrast
On white
9.56
#323E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#323E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323E8B
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323E8B | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09498E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #323e8b; /* rgb */ color: rgb(50, 62, 139); /* oklch */ color: oklch(39.9% 0.128 272.6);
Tailwind
colors: {
custom: {
50: '#7473ad',
500: '#323e8b',
950: '#000000',
},
}SCSS
$custom: #323e8b; $custom-light: #7473ad; $custom-dark: #000000;
JSON
{
"hex": "#323e8b",
"rgb": {
"r": 50,
"g": 62,
"b": 139
},
"hsl": {
"h": 231.91,
"s": 47.09,
"l": 37.059
},
"oklch": {
"l": 0.39917,
"c": 0.12786,
"h": 272.6
},
"luminance": 0.05987
}Semantic roles & 50–950 ramp
primary
#323E8B
secondary
#B2A867
accent
#C551D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F