#323A8F#323A8F
#323A8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.139 H 274.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #323A8F |
|---|---|
| RGB | rgb(50, 58, 143) |
| HSL | hsl(235, 48%, 38%) |
| HSV | hsv(235, 65%, 56%) |
| CMYK | cmyk(65%, 59.4%, 0%, 43.9%) |
| CIE-LAB | lab(28.61, 24.86, -48.22) |
| CIE-LCH | lch(28.61, 54.26, 297.27°) |
| OKLab | oklab(39.44% 0.0098 -0.1387) |
| OKLCH | oklch(39.44% 0.139 274) |
| XYZ | xyz(7.7847, 5.6867, 26.6687) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.58
Darkslateblue
#483D8B
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 4.44
Cobalt (survey)
#1E488F
ΔE00 6.81
Cobalt
#0047AB
ΔE00 7.11
Ocean Blue
#4F42B5
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323A8F #8F8732
analogous
#32688F #323A8F #59328F
triadic
#323A8F #8F323A #3A8F32
tetradic
#323A8F #8F3268 #8F8732 #328F59
square
#323A8F #8F3268 #8F8732 #328F59
split-complementary
#323A8F #8F5932 #688F32
monochromatic
#121534 #222862 #323A8F #424CBC #6F77CD
Accessibility & contrast
On white
9.83
#323A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#323A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323A8F
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323A8F | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #323a8f; /* rgb */ color: rgb(50, 58, 143); /* oklch */ color: oklch(39.4% 0.139 274.0);
Tailwind
colors: {
custom: {
50: '#7570b0',
500: '#323a8f',
950: '#000000',
},
}SCSS
$custom: #323a8f; $custom-light: #7570b0; $custom-dark: #000000;
JSON
{
"hex": "#323a8f",
"rgb": {
"r": 50,
"g": 58,
"b": 143
},
"hsl": {
"h": 234.839,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.39438,
"c": 0.13906,
"h": 274
},
"luminance": 0.05687
}Semantic roles & 50–950 ramp
primary
#323A8F
secondary
#B4AE68
accent
#CC50D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80