#323F8F#323F8F
#323F8F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.132 H 272.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #323F8F |
|---|---|
| RGB | rgb(50, 63, 143) |
| HSL | hsl(232, 48%, 38%) |
| HSV | hsv(232, 65%, 56%) |
| CMYK | cmyk(65%, 55.9%, 0%, 43.9%) |
| CIE-LAB | lab(29.95, 21.51, -46.05) |
| CIE-LCH | lch(29.95, 50.82, 295.04°) |
| OKLab | oklab(40.44% 0.005 -0.1322) |
| OKLCH | oklch(40.44% 0.132 272.2) |
| XYZ | xyz(8.0492, 6.2156, 26.7568) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.65
Darkslateblue
#483D8B
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 5.03
Cobalt (survey)
#1E488F
ΔE00 5.27
Cobalt
#0047AB
ΔE00 6.03
Darkish Blue
#014182
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323F8F #8F8232
analogous
#326D8F #323F8F #53328F
triadic
#323F8F #8F323F #3F8F32
tetradic
#323F8F #8F326D #8F8232 #328F53
square
#323F8F #8F326D #8F8232 #328F53
split-complementary
#323F8F #8F5332 #6D8F32
monochromatic
#121734 #222B62 #323F8F #4253BC #6F7CCD
Accessibility & contrast
On white
9.36
#323F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#323F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323F8F
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323F8F | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #323f8f; /* rgb */ color: rgb(50, 63, 143); /* oklch */ color: oklch(40.4% 0.132 272.2);
Tailwind
colors: {
custom: {
50: '#7473b0',
500: '#323f8f',
950: '#000000',
},
}SCSS
$custom: #323f8f; $custom-light: #7473b0; $custom-dark: #000000;
JSON
{
"hex": "#323f8f",
"rgb": {
"r": 50,
"g": 63,
"b": 143
},
"hsl": {
"h": 231.613,
"s": 48.187,
"l": 37.843
},
"oklch": {
"l": 0.40439,
"c": 0.13234,
"h": 272.2
},
"luminance": 0.06216
}Semantic roles & 50–950 ramp
primary
#323F8F
secondary
#B4AA68
accent
#C550D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80