#323D97#323D97
#323D97 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.146 H 272.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #323D97 |
|---|---|
| RGB | rgb(50, 61, 151) |
| HSL | hsl(233, 50%, 39%) |
| HSV | hsv(233, 67%, 59%) |
| CMYK | cmyk(66.9%, 59.6%, 0%, 40.8%) |
| CIE-LAB | lab(30.03, 25.78, -50.81) |
| CIE-LCH | lch(30.03, 56.98, 296.90°) |
| OKLab | oklab(40.7% 0.0071 -0.1463) |
| OKLCH | oklch(40.7% 0.146 272.8) |
| XYZ | xyz(8.5682, 6.2492, 30.0268) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 3.56
Darkslateblue
#483D8B
ΔE00 4.70
Cobalt
#0047AB
ΔE00 5.95
Cobalt (survey)
#1E488F
ΔE00 6.20
Ocean Blue
#4F42B5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323D97 #978C32
analogous
#327097 #323D97 #593297
triadic
#323D97 #97323D #3D9732
tetradic
#323D97 #973270 #978C32 #329759
square
#323D97 #973270 #978C32 #329759
split-complementary
#323D97 #975932 #709732
monochromatic
#14183B #232A69 #323D97 #4552C1 #737DD1
Accessibility & contrast
On white
9.33
#323D97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#323D97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323D97
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323D97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323D97 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #323d97; /* rgb */ color: rgb(50, 61, 151); /* oklch */ color: oklch(40.7% 0.146 272.8);
Tailwind
colors: {
custom: {
50: '#7672b6',
500: '#323d97',
950: '#000000',
},
}SCSS
$custom: #323d97; $custom-light: #7672b6; $custom-dark: #000000;
JSON
{
"hex": "#323d97",
"rgb": {
"r": 50,
"g": 61,
"b": 151
},
"hsl": {
"h": 233.465,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.40696,
"c": 0.14646,
"h": 272.8
},
"luminance": 0.0625
}Semantic roles & 50–950 ramp
primary
#323D97
secondary
#B9B06C
accent
#CB4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80