#323D8F#323D8F
#323D8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.135 H 273.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #323D8F |
|---|---|
| RGB | rgb(50, 61, 143) |
| HSL | hsl(233, 48%, 38%) |
| HSV | hsv(233, 65%, 56%) |
| CMYK | cmyk(65%, 57.3%, 0%, 43.9%) |
| CIE-LAB | lab(29.41, 22.85, -46.93) |
| CIE-LCH | lch(29.41, 52.20, 295.97°) |
| OKLab | oklab(40.03% 0.007 -0.1349) |
| OKLCH | oklch(40.03% 0.135 273) |
| XYZ | xyz(7.9404, 5.9981, 26.7206) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.52
Darkslateblue
#483D8B
ΔE00 4.40
Sapphire (survey)
#2138AB
ΔE00 4.74
Cobalt (survey)
#1E488F
ΔE00 5.88
Cobalt
#0047AB
ΔE00 6.44
Darkish Blue
#014182
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323D8F #8F8432
analogous
#326C8F #323D8F #55328F
triadic
#323D8F #8F323D #3D8F32
tetradic
#323D8F #8F326C #8F8432 #328F55
square
#323D8F #8F326C #8F8432 #328F55
split-complementary
#323D8F #8F5532 #6C8F32
monochromatic
#121634 #222A62 #323D8F #4250BC #6F7ACD
Accessibility & contrast
On white
9.55
#323D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#323D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323D8F
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323D8F | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #323d8f; /* rgb */ color: rgb(50, 61, 143); /* oklch */ color: oklch(40.0% 0.135 273.0);
Tailwind
colors: {
custom: {
50: '#7572b0',
500: '#323d8f',
950: '#000000',
},
}SCSS
$custom: #323d8f; $custom-light: #7572b0; $custom-dark: #000000;
JSON
{
"hex": "#323d8f",
"rgb": {
"r": 50,
"g": 61,
"b": 143
},
"hsl": {
"h": 232.903,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.40033,
"c": 0.13504,
"h": 273
},
"luminance": 0.05999
}Semantic roles & 50–950 ramp
primary
#323D8F
secondary
#B4AB68
accent
#C850D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80