#3342AE#3342AE
#3342AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.172 H 271.3°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3342AE |
|---|---|
| RGB | rgb(51, 66, 174) |
| HSL | hsl(233, 55%, 44%) |
| HSV | hsv(233, 71%, 68%) |
| CMYK | cmyk(70.7%, 62.1%, 0%, 31.8%) |
| CIE-LAB | lab(33.25, 31.00, -59.43) |
| CIE-LCH | lch(33.25, 67.03, 297.55°) |
| OKLab | oklab(43.69% 0.0038 -0.1715) |
| OKLCH | oklch(43.69% 0.172 271.3) |
| XYZ | xyz(10.9508, 7.6552, 40.9367) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Blue Blue
#2242C7
ΔE00 3.34
Ocean Blue
#4F42B5
ΔE00 4.31
Blueberry
#464196
ΔE00 4.76
Cobalt
#0047AB
ΔE00 4.84
Blue (survey)
#0343DF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3342AE #AE9F33
analogous
#3380AE #3342AE #6233AE
triadic
#3342AE #AE3342 #42AE33
tetradic
#3342AE #AE3380 #AE9F33 #33AE62
square
#3342AE #AE3380 #AE9F33 #33AE62
split-complementary
#3342AE #AE6233 #80AE33
monochromatic
#171E4F #25307F #3342AE #5261CC #818CDA
Accessibility & contrast
On white
8.30
#3342AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#3342AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3342AE
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3342AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3342AE | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #3342ae; /* rgb */ color: rgb(51, 66, 174); /* oklch */ color: oklch(43.7% 0.172 271.3);
Tailwind
colors: {
custom: {
50: '#7b76c7',
500: '#3342ae',
950: '#000000',
},
}SCSS
$custom: #3342ae; $custom-light: #7b76c7; $custom-dark: #000000;
JSON
{
"hex": "#3342ae",
"rgb": {
"r": 51,
"g": 66,
"b": 174
},
"hsl": {
"h": 232.683,
"s": 54.667,
"l": 44.118
},
"oklch": {
"l": 0.43685,
"c": 0.17156,
"h": 271.3
},
"luminance": 0.07656
}Semantic roles & 50–950 ramp
primary
#3342AE
secondary
#C3BA79
accent
#CC4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82