#323AB2#323AB2
#323AB2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.187 H 272.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #323AB2 |
|---|---|
| RGB | rgb(50, 58, 178) |
| HSL | hsl(236, 56%, 45%) |
| HSV | hsv(236, 72%, 70%) |
| CMYK | cmyk(71.9%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(31.62, 37.38, -64.49) |
| CIE-LCH | lch(31.62, 74.54, 300.10°) |
| OKLab | oklab(42.58% 0.008 -0.1864) |
| OKLCH | oklch(42.58% 0.187 272.5) |
| XYZ | xyz(10.8616, 6.9175, 42.8736) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.04
Blue Blue
#2242C7
ΔE00 3.71
Ocean Blue
#4F42B5
ΔE00 4.17
Blue With A Hint Of Purple
#533CC6
ΔE00 5.28
Blueberry
#464196
ΔE00 5.46
Blurple
#5539CC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323AB2 #B2AA32
analogous
#327AB2 #323AB2 #6A32B2
triadic
#323AB2 #B2323A #3AB232
tetradic
#323AB2 #B2327A #B2AA32 #32B26A
square
#323AB2 #B2327A #B2AA32 #32B26A
split-complementary
#323AB2 #B26A32 #7AB232
monochromatic
#171B52 #252A82 #323AB2 #535ACF #8288DC
Accessibility & contrast
On white
8.81
#323AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#323AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323AB2
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323AB2 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #323ab2; /* rgb */ color: rgb(50, 58, 178); /* oklch */ color: oklch(42.6% 0.187 272.5);
Tailwind
colors: {
custom: {
50: '#7c70ca',
500: '#323ab2',
950: '#000000',
},
}SCSS
$custom: #323ab2; $custom-light: #7c70ca; $custom-dark: #000000;
JSON
{
"hex": "#323ab2",
"rgb": {
"r": 50,
"g": 58,
"b": 178
},
"hsl": {
"h": 236.25,
"s": 56.14,
"l": 44.706
},
"oklch": {
"l": 0.4258,
"c": 0.18659,
"h": 272.5
},
"luminance": 0.06919
}Semantic roles & 50–950 ramp
primary
#323AB2
secondary
#C5C17B
accent
#D648DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82