#323F8B#323F8B
#323F8B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.127 H 272.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #323F8B |
|---|---|
| RGB | rgb(50, 63, 139) |
| HSL | hsl(231, 47%, 37%) |
| HSV | hsv(231, 64%, 55%) |
| CMYK | cmyk(64%, 54.7%, 0%, 45.5%) |
| CIE-LAB | lab(29.65, 20.04, -44.06) |
| CIE-LCH | lch(29.65, 48.41, 294.46°) |
| OKLab | oklab(40.12% 0.0048 -0.1264) |
| OKLCH | oklch(40.12% 0.127 272.2) |
| XYZ | xyz(7.7515, 6.0966, 25.1894) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.95
Darkslateblue
#483D8B
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 5.21
Sapphire (survey)
#2138AB
ΔE00 5.64
Cobalt
#0047AB
ΔE00 6.39
Darkish Blue
#014182
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323F8B #8B7E32
analogous
#326C8B #323F8B #52328B
triadic
#323F8B #8B323F #3F8B32
tetradic
#323F8B #8B326C #8B7E32 #328B52
square
#323F8B #8B326C #8B7E32 #328B52
split-complementary
#323F8B #8B5232 #6C8B32
monochromatic
#121631 #222B5E #323F8B #4253B8 #6D7BCA
Accessibility & contrast
On white
9.46
#323F8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#323F8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323F8B
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323F8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323F8B | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E4A8E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #323f8b; /* rgb */ color: rgb(50, 63, 139); /* oklch */ color: oklch(40.1% 0.127 272.2);
Tailwind
colors: {
custom: {
50: '#7473ad',
500: '#323f8b',
950: '#000000',
},
}SCSS
$custom: #323f8b; $custom-light: #7473ad; $custom-dark: #000000;
JSON
{
"hex": "#323f8b",
"rgb": {
"r": 50,
"g": 63,
"b": 139
},
"hsl": {
"h": 231.236,
"s": 47.09,
"l": 37.059
},
"oklch": {
"l": 0.40124,
"c": 0.1265,
"h": 272.2
},
"luminance": 0.06097
}Semantic roles & 50–950 ramp
primary
#323F8B
secondary
#B2A767
accent
#C351D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F