#323C98#323C98
#323C98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.149 H 273.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #323C98 |
|---|---|
| RGB | rgb(50, 60, 152) |
| HSL | hsl(234, 50%, 40%) |
| HSV | hsv(234, 67%, 60%) |
| CMYK | cmyk(67.1%, 60.5%, 0%, 40.4%) |
| CIE-LAB | lab(29.85, 26.80, -51.72) |
| CIE-LCH | lch(29.85, 58.25, 297.40°) |
| OKLab | oklab(40.59% 0.008 -0.149) |
| OKLCH | oklch(40.59% 0.149 273.1) |
| XYZ | xyz(8.5969, 6.1761, 30.4387) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.30
Blueberry
#464196
ΔE00 3.38
Darkslateblue
#483D8B
ΔE00 4.70
Cobalt
#0047AB
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.20
Cobalt (survey)
#1E488F
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323C98 #988E32
analogous
#326F98 #323C98 #5B3298
triadic
#323C98 #98323C #3C9832
tetradic
#323C98 #98326F #988E32 #32985B
square
#323C98 #98326F #988E32 #32985B
split-complementary
#323C98 #985B32 #6F9832
monochromatic
#14183C #232A6A #323C98 #4552C2 #737DD1
Accessibility & contrast
On white
9.39
#323C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#323C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323C98
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323C98 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #323c98; /* rgb */ color: rgb(50, 60, 152); /* oklch */ color: oklch(40.6% 0.149 273.1);
Tailwind
colors: {
custom: {
50: '#7671b7',
500: '#323c98',
950: '#000000',
},
}SCSS
$custom: #323c98; $custom-light: #7671b7; $custom-dark: #000000;
JSON
{
"hex": "#323c98",
"rgb": {
"r": 50,
"g": 60,
"b": 152
},
"hsl": {
"h": 234.118,
"s": 50.495,
"l": 39.608
},
"oklch": {
"l": 0.40588,
"c": 0.14917,
"h": 273.1
},
"luminance": 0.06177
}Semantic roles & 50–950 ramp
primary
#323C98
secondary
#B9B26D
accent
#CC4EDA
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80