#3342AB#3342AB
#3342AB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.168 H 271.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #3342AB |
|---|---|
| RGB | rgb(51, 66, 171) |
| HSL | hsl(233, 54%, 44%) |
| HSV | hsv(233, 70%, 67%) |
| CMYK | cmyk(70.2%, 61.4%, 0%, 32.9%) |
| CIE-LAB | lab(33.00, 29.91, -58.05) |
| CIE-LCH | lch(33.00, 65.30, 297.26°) |
| OKLab | oklab(43.42% 0.0038 -0.1675) |
| OKLCH | oklch(43.42% 0.168 271.3) |
| XYZ | xyz(10.6617, 7.5395, 39.4136) |
| Luminance | 0.0754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Blue Blue
#2242C7
ΔE00 3.74
Blueberry
#464196
ΔE00 4.48
Ocean Blue
#4F42B5
ΔE00 4.52
Cobalt
#0047AB
ΔE00 4.73
Blue (survey)
#0343DF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3342AB #AB9C33
analogous
#337EAB #3342AB #6033AB
triadic
#3342AB #AB3342 #42AB33
tetradic
#3342AB #AB337E #AB9C33 #33AB60
square
#3342AB #AB337E #AB9C33 #33AB60
split-complementary
#3342AB #AB6033 #7EAB33
monochromatic
#171E4D #25307C #3342AB #5060CB #7F8BD9
Accessibility & contrast
On white
8.37
#3342AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#3342AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3342AB
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3342AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3342AB | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3342ab; /* rgb */ color: rgb(51, 66, 171); /* oklch */ color: oklch(43.4% 0.168 271.3);
Tailwind
colors: {
custom: {
50: '#7b76c5',
500: '#3342ab',
950: '#000000',
},
}SCSS
$custom: #3342ab; $custom-light: #7b76c5; $custom-dark: #000000;
JSON
{
"hex": "#3342ab",
"rgb": {
"r": 51,
"g": 66,
"b": 171
},
"hsl": {
"h": 232.5,
"s": 54.054,
"l": 43.529
},
"oklch": {
"l": 0.43423,
"c": 0.1675,
"h": 271.3
},
"luminance": 0.07541
}Semantic roles & 50–950 ramp
primary
#3342AB
secondary
#C2B978
accent
#CB4ADD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82