#323F9C#323F9C
#323F9C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.151 H 272.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #323F9C |
|---|---|
| RGB | rgb(50, 63, 156) |
| HSL | hsl(233, 51%, 40%) |
| HSV | hsv(233, 68%, 61%) |
| CMYK | cmyk(67.9%, 59.6%, 0%, 38.8%) |
| CIE-LAB | lab(30.96, 26.27, -52.36) |
| CIE-LCH | lch(30.96, 58.58, 296.65°) |
| OKLab | oklab(41.51% 0.0054 -0.1508) |
| OKLCH | oklch(41.51% 0.151 272) |
| XYZ | xyz(9.0916, 6.6326, 32.2471) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.28
Blueberry
#464196
ΔE00 3.48
Darkslateblue
#483D8B
ΔE00 5.20
Cobalt
#0047AB
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 5.85
Blue Blue
#2242C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323F9C #9C8F32
analogous
#32749C #323F9C #5A329C
triadic
#323F9C #9C323F #3F9C32
tetradic
#323F9C #9C3274 #9C8F32 #329C5A
square
#323F9C #9C3274 #9C8F32 #329C5A
split-complementary
#323F9C #9C5A32 #749C32
monochromatic
#141A3F #232C6E #323F9C #4756C4 #7581D3
Accessibility & contrast
On white
9.03
#323F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#323F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323F9C
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323F9C | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#00449A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #323f9c; /* rgb */ color: rgb(50, 63, 156); /* oklch */ color: oklch(41.5% 0.151 272.0);
Tailwind
colors: {
custom: {
50: '#7774ba',
500: '#323f9c',
950: '#000000',
},
}SCSS
$custom: #323f9c; $custom-light: #7774ba; $custom-dark: #000000;
JSON
{
"hex": "#323f9c",
"rgb": {
"r": 50,
"g": 63,
"b": 156
},
"hsl": {
"h": 232.642,
"s": 51.456,
"l": 40.392
},
"oklch": {
"l": 0.41507,
"c": 0.15089,
"h": 272
},
"luminance": 0.06633
}Semantic roles & 50–950 ramp
primary
#323F9C
secondary
#BBB26F
accent
#C94DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81