#323A9F#323A9F
#323A9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.8% C 0.161 H 273.4°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #323A9F |
|---|---|
| RGB | rgb(50, 58, 159) |
| HSL | hsl(236, 52%, 41%) |
| HSV | hsv(236, 69%, 62%) |
| CMYK | cmyk(68.6%, 63.5%, 0%, 37.6%) |
| CIE-LAB | lab(29.93, 30.64, -55.85) |
| CIE-LCH | lch(29.93, 63.70, 298.75°) |
| OKLab | oklab(40.83% 0.0094 -0.1611) |
| OKLCH | oklch(40.83% 0.161 273.4) |
| XYZ | xyz(9.0844, 6.2066, 33.5134) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.26
Blueberry
#464196
ΔE00 3.83
Darkslateblue
#483D8B
ΔE00 5.22
Ocean Blue
#4F42B5
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.82
Cobalt
#0047AB
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323A9F #9F9732
analogous
#32709F #323A9F #60329F
triadic
#323A9F #9F323A #3A9F32
tetradic
#323A9F #9F3270 #9F9732 #329F60
square
#323A9F #9F3270 #9F9732 #329F60
split-complementary
#323A9F #9F6032 #709F32
monochromatic
#151842 #232970 #323A9F #4952C6 #777ED4
Accessibility & contrast
On white
9.37
#323A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#323A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323A9F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323A9F | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #323a9f; /* rgb */ color: rgb(50, 58, 159); /* oklch */ color: oklch(40.8% 0.161 273.4);
Tailwind
colors: {
custom: {
50: '#7870bc',
500: '#323a9f',
950: '#000000',
},
}SCSS
$custom: #323a9f; $custom-light: #7870bc; $custom-dark: #000000;
JSON
{
"hex": "#323a9f",
"rgb": {
"r": 50,
"g": 58,
"b": 159
},
"hsl": {
"h": 235.596,
"s": 52.153,
"l": 40.98
},
"oklch": {
"l": 0.40825,
"c": 0.16139,
"h": 273.4
},
"luminance": 0.06207
}Semantic roles & 50–950 ramp
primary
#323A9F
secondary
#BDB770
accent
#D14CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81