#323AB3#323AB3
#323AB3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.188 H 272.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #323AB3 |
|---|---|
| RGB | rgb(50, 58, 179) |
| HSL | hsl(236, 56%, 45%) |
| HSV | hsv(236, 72%, 70%) |
| CMYK | cmyk(72.1%, 67.6%, 0%, 29.8%) |
| CIE-LAB | lab(31.71, 37.73, -64.93) |
| CIE-LCH | lch(31.71, 75.10, 300.16°) |
| OKLab | oklab(42.68% 0.0079 -0.1877) |
| OKLCH | oklch(42.68% 0.188 272.4) |
| XYZ | xyz(10.9624, 6.9578, 43.4043) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.13
Blue Blue
#2242C7
ΔE00 3.62
Ocean Blue
#4F42B5
ΔE00 4.14
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Blueberry
#464196
ΔE00 5.56
Blurple
#5539CC
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323AB3 #B3AB32
analogous
#327BB3 #323AB3 #6A32B3
triadic
#323AB3 #B3323A #3AB332
tetradic
#323AB3 #B3327B #B3AB32 #32B36A
square
#323AB3 #B3327B #B3AB32 #32B36A
split-complementary
#323AB3 #B36A32 #7BB332
monochromatic
#171B53 #252A83 #323AB3 #535BCF #8389DC
Accessibility & contrast
On white
8.78
#323AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#323AB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323AB3
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323AB3 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #323ab3; /* rgb */ color: rgb(50, 58, 179); /* oklch */ color: oklch(42.7% 0.188 272.4);
Tailwind
colors: {
custom: {
50: '#7d70cb',
500: '#323ab3',
950: '#000000',
},
}SCSS
$custom: #323ab3; $custom-light: #7d70cb; $custom-dark: #000000;
JSON
{
"hex": "#323ab3",
"rgb": {
"r": 50,
"g": 58,
"b": 179
},
"hsl": {
"h": 236.279,
"s": 56.332,
"l": 44.902
},
"oklch": {
"l": 0.42675,
"c": 0.18789,
"h": 272.4
},
"luminance": 0.06959
}Semantic roles & 50–950 ramp
primary
#323AB3
secondary
#C6C17B
accent
#D648E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82