#323CA7#323CA7
#323CA7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.170 H 272.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #323CA7 |
|---|---|
| RGB | rgb(50, 60, 167) |
| HSL | hsl(235, 54%, 43%) |
| HSV | hsv(235, 70%, 65%) |
| CMYK | cmyk(70.1%, 64.1%, 0%, 34.5%) |
| CIE-LAB | lab(31.11, 32.22, -58.74) |
| CIE-LCH | lch(31.11, 67.00, 298.74°) |
| OKLab | oklab(41.91% 0.0075 -0.1696) |
| OKLCH | oklch(41.91% 0.17 272.5) |
| XYZ | xyz(9.9040, 6.6989, 37.3228) |
| Luminance | 0.0670 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.82
Blueberry
#464196
ΔE00 4.24
Blue Blue
#2242C7
ΔE00 4.59
Ocean Blue
#4F42B5
ΔE00 4.70
Cobalt
#0047AB
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323CA7 #A79D32
analogous
#3276A7 #323CA7 #6332A7
triadic
#323CA7 #A7323C #3CA732
tetradic
#323CA7 #A73276 #A79D32 #32A763
square
#323CA7 #A73276 #A79D32 #32A763
split-complementary
#323CA7 #A76332 #76A732
monochromatic
#161A49 #242B78 #323CA7 #4D57CA #7C84D8
Accessibility & contrast
On white
8.97
#323CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#323CA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323CA7
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323CA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323CA7 | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #323ca7; /* rgb */ color: rgb(50, 60, 167); /* oklch */ color: oklch(41.9% 0.170 272.5);
Tailwind
colors: {
custom: {
50: '#7a72c2',
500: '#323ca7',
950: '#000000',
},
}SCSS
$custom: #323ca7; $custom-light: #7a72c2; $custom-dark: #000000;
JSON
{
"hex": "#323ca7",
"rgb": {
"r": 50,
"g": 60,
"b": 167
},
"hsl": {
"h": 234.872,
"s": 53.917,
"l": 42.549
},
"oklch": {
"l": 0.41908,
"c": 0.16974,
"h": 272.5
},
"luminance": 0.067
}Semantic roles & 50–950 ramp
primary
#323CA7
secondary
#C0BA74
accent
#D14BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81