#3342B2#3342B2
#3342B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.177 H 271.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3342B2 |
|---|---|
| RGB | rgb(51, 66, 178) |
| HSL | hsl(233, 55%, 45%) |
| HSV | hsv(233, 71%, 70%) |
| CMYK | cmyk(71.3%, 62.9%, 0%, 30.2%) |
| CIE-LAB | lab(33.59, 32.44, -61.26) |
| CIE-LCH | lch(33.59, 69.32, 297.90°) |
| OKLab | oklab(44.04% 0.0036 -0.1769) |
| OKLCH | oklch(44.04% 0.177 271.2) |
| XYZ | xyz(11.3466, 7.8135, 43.0210) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.82
Sapphire (survey)
#2138AB
ΔE00 3.18
Ocean Blue
#4F42B5
ΔE00 4.08
Cobalt
#0047AB
ΔE00 5.04
Blueberry
#464196
ΔE00 5.15
Blue (survey)
#0343DF
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3342B2 #B2A333
analogous
#3382B2 #3342B2 #6333B2
triadic
#3342B2 #B23342 #42B233
tetradic
#3342B2 #B23382 #B2A333 #33B263
square
#3342B2 #B23382 #B2A333 #33B263
split-complementary
#3342B2 #B26333 #82B233
monochromatic
#181F53 #253082 #3342B2 #5463CE #848EDC
Accessibility & contrast
On white
8.19
#3342B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3342B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3342B2
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3342B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3342B2 | 1.00 | 8.19 | 2.56 | 8.19 |
| #FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3342b2; /* rgb */ color: rgb(51, 66, 178); /* oklch */ color: oklch(44.0% 0.177 271.2);
Tailwind
colors: {
custom: {
50: '#7c76ca',
500: '#3342b2',
950: '#000000',
},
}SCSS
$custom: #3342b2; $custom-light: #7c76ca; $custom-dark: #000000;
JSON
{
"hex": "#3342b2",
"rgb": {
"r": 51,
"g": 66,
"b": 178
},
"hsl": {
"h": 232.913,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.44038,
"c": 0.17692,
"h": 271.2
},
"luminance": 0.07815
}Semantic roles & 50–950 ramp
primary
#3342B2
secondary
#C5BC7C
accent
#CD49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82