#323F98#323F98
#323F98 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.145 H 272.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #323F98 |
|---|---|
| RGB | rgb(50, 63, 152) |
| HSL | hsl(232, 50%, 40%) |
| HSV | hsv(232, 67%, 60%) |
| CMYK | cmyk(67.1%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(30.64, 24.81, -50.44) |
| CIE-LCH | lch(30.64, 56.21, 296.19°) |
| OKLab | oklab(41.17% 0.0053 -0.1452) |
| OKLCH | oklch(41.17% 0.145 272.1) |
| XYZ | xyz(8.7585, 6.4993, 30.4926) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.40
Sapphire (survey)
#2138AB
ΔE00 3.77
Darkslateblue
#483D8B
ΔE00 4.96
Cobalt
#0047AB
ΔE00 5.44
Cobalt (survey)
#1E488F
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#323F98 #988B32
analogous
#327298 #323F98 #583298
triadic
#323F98 #98323F #3F9832
tetradic
#323F98 #983272 #988B32 #329858
square
#323F98 #983272 #988B32 #329858
split-complementary
#323F98 #985832 #729832
monochromatic
#14193C #232C6A #323F98 #4555C2 #737FD1
Accessibility & contrast
On white
9.13
#323F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#323F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #323F98
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##323F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##323F98 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004496
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #323f98; /* rgb */ color: rgb(50, 63, 152); /* oklch */ color: oklch(41.2% 0.145 272.1);
Tailwind
colors: {
custom: {
50: '#7673b7',
500: '#323f98',
950: '#000000',
},
}SCSS
$custom: #323f98; $custom-light: #7673b7; $custom-dark: #000000;
JSON
{
"hex": "#323f98",
"rgb": {
"r": 50,
"g": 63,
"b": 152
},
"hsl": {
"h": 232.353,
"s": 50.495,
"l": 39.608
},
"oklch": {
"l": 0.41172,
"c": 0.14527,
"h": 272.1
},
"luminance": 0.065
}Semantic roles & 50–950 ramp
primary
#323F98
secondary
#B9AF6D
accent
#C84EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80