#3342AC#3342AC
#3342AC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.169 H 271.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #3342AC |
|---|---|
| RGB | rgb(51, 66, 172) |
| HSL | hsl(233, 54%, 44%) |
| HSV | hsv(233, 70%, 67%) |
| CMYK | cmyk(70.3%, 61.6%, 0%, 32.5%) |
| CIE-LAB | lab(33.09, 30.27, -58.51) |
| CIE-LCH | lch(33.09, 65.88, 297.36°) |
| OKLab | oklab(43.51% 0.0038 -0.1688) |
| OKLCH | oklch(43.51% 0.169 271.3) |
| XYZ | xyz(10.7573, 7.5777, 39.9175) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Blue Blue
#2242C7
ΔE00 3.61
Ocean Blue
#4F42B5
ΔE00 4.44
Blueberry
#464196
ΔE00 4.57
Cobalt
#0047AB
ΔE00 4.76
Blue (survey)
#0343DF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3342AC #AC9D33
analogous
#337EAC #3342AC #6033AC
triadic
#3342AC #AC3342 #42AC33
tetradic
#3342AC #AC337E #AC9D33 #33AC60
square
#3342AC #AC337E #AC9D33 #33AC60
split-complementary
#3342AC #AC6033 #7EAC33
monochromatic
#171E4E #25307D #3342AC #5160CB #808BD9
Accessibility & contrast
On white
8.35
#3342AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#3342AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3342AC
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3342AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3342AC | 1.00 | 8.35 | 2.52 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3342ac; /* rgb */ color: rgb(51, 66, 172); /* oklch */ color: oklch(43.5% 0.169 271.3);
Tailwind
colors: {
custom: {
50: '#7b76c6',
500: '#3342ac',
950: '#000000',
},
}SCSS
$custom: #3342ac; $custom-light: #7b76c6; $custom-dark: #000000;
JSON
{
"hex": "#3342ac",
"rgb": {
"r": 51,
"g": 66,
"b": 172
},
"hsl": {
"h": 232.562,
"s": 54.26,
"l": 43.725
},
"oklch": {
"l": 0.4351,
"c": 0.16885,
"h": 271.3
},
"luminance": 0.07579
}Semantic roles & 50–950 ramp
primary
#3342AC
secondary
#C2B978
accent
#CB4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82