#3342AD#3342AD
#3342AD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.170 H 271.3°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #3342AD |
|---|---|
| RGB | rgb(51, 66, 173) |
| HSL | hsl(233, 54%, 44%) |
| HSV | hsv(233, 71%, 68%) |
| CMYK | cmyk(70.5%, 61.8%, 0%, 32.2%) |
| CIE-LAB | lab(33.17, 30.63, -58.97) |
| CIE-LCH | lch(33.17, 66.45, 297.45°) |
| OKLab | oklab(43.6% 0.0038 -0.1702) |
| OKLCH | oklch(43.6% 0.17 271.3) |
| XYZ | xyz(10.8537, 7.6163, 40.4252) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Blue Blue
#2242C7
ΔE00 3.47
Ocean Blue
#4F42B5
ΔE00 4.37
Blueberry
#464196
ΔE00 4.66
Cobalt
#0047AB
ΔE00 4.80
Blue (survey)
#0343DF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3342AD #AD9E33
analogous
#337FAD #3342AD #6133AD
triadic
#3342AD #AD3342 #42AD33
tetradic
#3342AD #AD337F #AD9E33 #33AD61
square
#3342AD #AD337F #AD9E33 #33AD61
split-complementary
#3342AD #AD6133 #7FAD33
monochromatic
#171E4E #25307E #3342AD #5160CC #818CDA
Accessibility & contrast
On white
8.32
#3342AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#3342AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3342AD
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3342AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3342AD | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3342ad; /* rgb */ color: rgb(51, 66, 173); /* oklch */ color: oklch(43.6% 0.170 271.3);
Tailwind
colors: {
custom: {
50: '#7b76c6',
500: '#3342ad',
950: '#000000',
},
}SCSS
$custom: #3342ad; $custom-light: #7b76c6; $custom-dark: #000000;
JSON
{
"hex": "#3342ad",
"rgb": {
"r": 51,
"g": 66,
"b": 173
},
"hsl": {
"h": 232.623,
"s": 54.464,
"l": 43.922
},
"oklch": {
"l": 0.43598,
"c": 0.17021,
"h": 271.3
},
"luminance": 0.07617
}Semantic roles & 50–950 ramp
primary
#3342AD
secondary
#C3BA79
accent
#CC4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82