#323C97#323C97
#323C97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.148 H 273.1°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #323C97 |
|---|---|
| RGB | rgb(50, 60, 151) |
| HSL | hsl(234, 50%, 39%) |
| HSV | hsv(234, 67%, 59%) |
| CMYK | cmyk(66.9%, 60.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.77, 26.44, -51.24) |
| CIE-LCH | lch(29.77, 57.66, 297.29°) |
| OKLab | oklab(40.5% 0.008 -0.1475) |
| OKLCH | oklch(40.5% 0.148 273.1) |
| XYZ | xyz(8.5153, 6.1434, 30.0092) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.36
Sapphire (survey)
#2138AB
ΔE00 3.44
Darkslateblue
#483D8B
ΔE00 4.64
Cobalt
#0047AB
ΔE00 6.19
Ocean Blue
#4F42B5
ΔE00 6.32
Cobalt (survey)
#1E488F
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323C97 #978D32
analogous
#326F97 #323C97 #5A3297
triadic
#323C97 #97323C #3C9732
tetradic
#323C97 #97326F #978D32 #32975A
square
#323C97 #97326F #978D32 #32975A
split-complementary
#323C97 #975A32 #6F9732
monochromatic
#14173B #232A69 #323C97 #4551C1 #737CD1
Accessibility & contrast
On white
9.42
#323C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#323C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323C97
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323C97 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #323c97; /* rgb */ color: rgb(50, 60, 151); /* oklch */ color: oklch(40.5% 0.148 273.1);
Tailwind
colors: {
custom: {
50: '#7671b6',
500: '#323c97',
950: '#000000',
},
}SCSS
$custom: #323c97; $custom-light: #7671b6; $custom-dark: #000000;
JSON
{
"hex": "#323c97",
"rgb": {
"r": 50,
"g": 60,
"b": 151
},
"hsl": {
"h": 234.059,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.40502,
"c": 0.14777,
"h": 273.1
},
"luminance": 0.06144
}Semantic roles & 50–950 ramp
primary
#323C97
secondary
#B9B16C
accent
#CC4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80