#323C8F#323C8F
#323C8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.136 H 273.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #323C8F |
|---|---|
| RGB | rgb(50, 60, 143) |
| HSL | hsl(234, 48%, 38%) |
| HSV | hsv(234, 65%, 56%) |
| CMYK | cmyk(65%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(29.14, 23.53, -47.36) |
| CIE-LCH | lch(29.14, 52.88, 296.41°) |
| OKLab | oklab(39.83% 0.0079 -0.1361) |
| OKLCH | oklch(39.83% 0.136 273.3) |
| XYZ | xyz(7.8875, 5.8923, 26.7029) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.51
Darkslateblue
#483D8B
ΔE00 4.30
Sapphire (survey)
#2138AB
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 6.19
Cobalt
#0047AB
ΔE00 6.65
Darkish Blue
#014182
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323C8F #8F8532
analogous
#326B8F #323C8F #56328F
triadic
#323C8F #8F323C #3C8F32
tetradic
#323C8F #8F326B #8F8532 #328F56
square
#323C8F #8F326B #8F8532 #328F56
split-complementary
#323C8F #8F5632 #6B8F32
monochromatic
#121634 #222962 #323C8F #424FBC #6F79CD
Accessibility & contrast
On white
9.64
#323C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#323C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323C8F
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323C8F | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #323c8f; /* rgb */ color: rgb(50, 60, 143); /* oklch */ color: oklch(39.8% 0.136 273.3);
Tailwind
colors: {
custom: {
50: '#7571b0',
500: '#323c8f',
950: '#000000',
},
}SCSS
$custom: #323c8f; $custom-light: #7571b0; $custom-dark: #000000;
JSON
{
"hex": "#323c8f",
"rgb": {
"r": 50,
"g": 60,
"b": 143
},
"hsl": {
"h": 233.548,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.39833,
"c": 0.13638,
"h": 273.3
},
"luminance": 0.05893
}Semantic roles & 50–950 ramp
primary
#323C8F
secondary
#B4AC68
accent
#C950D8
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80