#323F9F#323F9F
#323F9F is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.155 H 272.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #323F9F |
|---|---|
| RGB | rgb(50, 63, 159) |
| HSL | hsl(233, 52%, 41%) |
| HSV | hsv(233, 69%, 62%) |
| CMYK | cmyk(68.6%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(31.20, 27.37, -53.78) |
| CIE-LCH | lch(31.20, 60.34, 296.97°) |
| OKLab | oklab(41.76% 0.0054 -0.155) |
| OKLCH | oklch(41.76% 0.155 272) |
| XYZ | xyz(9.3488, 6.7355, 33.6016) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.95
Blueberry
#464196
ΔE00 3.60
Cobalt
#0047AB
ΔE00 5.22
Darkslateblue
#483D8B
ΔE00 5.41
Blue Blue
#2242C7
ΔE00 5.46
Ocean Blue
#4F42B5
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323F9F #9F9232
analogous
#32759F #323F9F #5B329F
triadic
#323F9F #9F323F #3F9F32
tetradic
#323F9F #9F3275 #9F9232 #329F5B
square
#323F9F #9F3275 #9F9232 #329F5B
split-complementary
#323F9F #9F5B32 #759F32
monochromatic
#151A42 #232D70 #323F9F #4957C6 #7782D4
Accessibility & contrast
On white
8.95
#323F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#323F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323F9F
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323F9F | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #323f9f; /* rgb */ color: rgb(50, 63, 159); /* oklch */ color: oklch(41.8% 0.155 272.0);
Tailwind
colors: {
custom: {
50: '#7874bc',
500: '#323f9f',
950: '#000000',
},
}SCSS
$custom: #323f9f; $custom-light: #7874bc; $custom-dark: #000000;
JSON
{
"hex": "#323f9f",
"rgb": {
"r": 50,
"g": 63,
"b": 159
},
"hsl": {
"h": 232.844,
"s": 52.153,
"l": 40.98
},
"oklch": {
"l": 0.41762,
"c": 0.15508,
"h": 272
},
"luminance": 0.06736
}Semantic roles & 50–950 ramp
primary
#323F9F
secondary
#BDB370
accent
#CA4CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81