#323F97#323F97
#323F97 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.144 H 272.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #323F97 |
|---|---|
| RGB | rgb(50, 63, 151) |
| HSL | hsl(232, 50%, 39%) |
| HSV | hsv(232, 67%, 59%) |
| CMYK | cmyk(66.9%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.56, 24.44, -49.96) |
| CIE-LCH | lch(30.56, 55.62, 296.07°) |
| OKLab | oklab(41.09% 0.0053 -0.1437) |
| OKLCH | oklch(41.09% 0.144 272.1) |
| XYZ | xyz(8.6769, 6.4667, 30.0631) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.40
Sapphire (survey)
#2138AB
ΔE00 3.90
Darkslateblue
#483D8B
ΔE00 4.91
Cobalt
#0047AB
ΔE00 5.49
Cobalt (survey)
#1E488F
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323F97 #978A32
analogous
#327297 #323F97 #583297
triadic
#323F97 #97323F #3F9732
tetradic
#323F97 #973272 #978A32 #329758
square
#323F97 #973272 #978A32 #329758
split-complementary
#323F97 #975832 #729732
monochromatic
#14193B #232C69 #323F97 #4555C1 #737FD1
Accessibility & contrast
On white
9.16
#323F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#323F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323F97
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323F97 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #323f97; /* rgb */ color: rgb(50, 63, 151); /* oklch */ color: oklch(41.1% 0.144 272.1);
Tailwind
colors: {
custom: {
50: '#7673b6',
500: '#323f97',
950: '#000000',
},
}SCSS
$custom: #323f97; $custom-light: #7673b6; $custom-dark: #000000;
JSON
{
"hex": "#323f97",
"rgb": {
"r": 50,
"g": 63,
"b": 151
},
"hsl": {
"h": 232.277,
"s": 50.249,
"l": 39.412
},
"oklch": {
"l": 0.41089,
"c": 0.14385,
"h": 272.1
},
"luminance": 0.06467
}Semantic roles & 50–950 ramp
primary
#323F97
secondary
#B9AF6C
accent
#C84EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80