#323396#323396
#323396 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.158 H 275.7°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).
Color values
| HEX | #323396 |
|---|---|
| RGB | rgb(50, 51, 150) |
| HSL | hsl(239, 50%, 39%) |
| HSV | hsv(239, 67%, 59%) |
| CMYK | cmyk(66.7%, 66%, 0%, 41.2%) |
| CIE-LAB | lab(27.43, 31.96, -54.45) |
| CIE-LCH | lch(27.43, 63.14, 300.41°) |
| OKLab | oklab(38.75% 0.0157 -0.157) |
| OKLCH | oklch(38.75% 0.158 275.7) |
| XYZ | xyz(8.0024, 5.2471, 29.4393) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.67
Blueberry
#464196
ΔE00 4.67
Darkslateblue
#483D8B
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 6.88
Royal
#0C1793
ΔE00 7.11
Indigo Blue
#3A18B1
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323396 #969532
analogous
#326596 #323396 #633296
triadic
#323396 #963233 #339632
tetradic
#323396 #963265 #969532 #329663
square
#323396 #963265 #969532 #329663
split-complementary
#323396 #966332 #659632
monochromatic
#13143A #232368 #323396 #4446C1 #7273D0
Accessibility & contrast
On white
10.25
#323396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#323396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323396
10.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323396 | 1.00 | 10.25 | 2.05 | 10.25 |
| #FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #323396; /* rgb */ color: rgb(50, 51, 150); /* oklch */ color: oklch(38.8% 0.158 275.7);
Tailwind
colors: {
custom: {
50: '#776bb6',
500: '#323396',
950: '#000000',
},
}SCSS
$custom: #323396; $custom-light: #776bb6; $custom-dark: #000000;
JSON
{
"hex": "#323396",
"rgb": {
"r": 50,
"g": 51,
"b": 150
},
"hsl": {
"h": 239.4,
"s": 50,
"l": 39.216
},
"oklch": {
"l": 0.38752,
"c": 0.15783,
"h": 275.7
},
"luminance": 0.05248
}Semantic roles & 50–950 ramp
primary
#323396
secondary
#B8B76C
accent
#D84EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80