#3342AA#3342AA
#3342AA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.166 H 271.3°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #3342AA |
|---|---|
| RGB | rgb(51, 66, 170) |
| HSL | hsl(232, 54%, 43%) |
| HSV | hsv(232, 70%, 67%) |
| CMYK | cmyk(70%, 61.2%, 0%, 33.3%) |
| CIE-LAB | lab(32.92, 29.55, -57.58) |
| CIE-LCH | lch(32.92, 64.72, 297.16°) |
| OKLab | oklab(43.34% 0.0039 -0.1661) |
| OKLCH | oklch(43.34% 0.166 271.3) |
| XYZ | xyz(10.5667, 7.5015, 38.9135) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.08
Blue Blue
#2242C7
ΔE00 3.88
Blueberry
#464196
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 4.60
Cobalt
#0047AB
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3342AA #AA9B33
analogous
#337DAA #3342AA #5F33AA
triadic
#3342AA #AA3342 #42AA33
tetradic
#3342AA #AA337D #AA9B33 #33AA5F
square
#3342AA #AA337D #AA9B33 #33AA5F
split-complementary
#3342AA #AA5F33 #7DAA33
monochromatic
#171D4C #25307B #3342AA #505FCA #7F8AD9
Accessibility & contrast
On white
8.40
#3342AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#3342AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3342AA
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3342AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3342AA | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3342aa; /* rgb */ color: rgb(51, 66, 170); /* oklch */ color: oklch(43.3% 0.166 271.3);
Tailwind
colors: {
custom: {
50: '#7a76c4',
500: '#3342aa',
950: '#000000',
},
}SCSS
$custom: #3342aa; $custom-light: #7a76c4; $custom-dark: #000000;
JSON
{
"hex": "#3342aa",
"rgb": {
"r": 51,
"g": 66,
"b": 170
},
"hsl": {
"h": 232.437,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.43337,
"c": 0.16614,
"h": 271.3
},
"luminance": 0.07503
}Semantic roles & 50–950 ramp
primary
#3342AA
secondary
#C2B877
accent
#CB4BDD
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82