#3342B3#3342B3
#3342B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.178 H 271.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #3342B3 |
|---|---|
| RGB | rgb(51, 66, 179) |
| HSL | hsl(233, 56%, 45%) |
| HSV | hsv(233, 72%, 70%) |
| CMYK | cmyk(71.5%, 63.1%, 0%, 29.8%) |
| CIE-LAB | lab(33.68, 32.80, -61.71) |
| CIE-LCH | lch(33.68, 69.89, 297.99°) |
| OKLab | oklab(44.13% 0.0036 -0.1782) |
| OKLCH | oklch(44.13% 0.178 271.2) |
| XYZ | xyz(11.4474, 7.8538, 43.5517) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.70
Sapphire (survey)
#2138AB
ΔE00 3.23
Ocean Blue
#4F42B5
ΔE00 4.03
Cobalt
#0047AB
ΔE00 5.10
Blueberry
#464196
ΔE00 5.25
Blue (survey)
#0343DF
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3342B3 #B3A433
analogous
#3382B3 #3342B3 #6433B3
triadic
#3342B3 #B33342 #42B333
tetradic
#3342B3 #B33382 #B3A433 #33B364
square
#3342B3 #B33382 #B3A433 #33B364
split-complementary
#3342B3 #B36433 #82B333
monochromatic
#181F54 #253083 #3342B3 #5563CE #848FDC
Accessibility & contrast
On white
8.17
#3342B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#3342B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3342B3
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3342B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3342B3 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3342b3; /* rgb */ color: rgb(51, 66, 179); /* oklch */ color: oklch(44.1% 0.178 271.2);
Tailwind
colors: {
custom: {
50: '#7c76cb',
500: '#3342b3',
950: '#000000',
},
}SCSS
$custom: #3342b3; $custom-light: #7c76cb; $custom-dark: #000000;
JSON
{
"hex": "#3342b3",
"rgb": {
"r": 51,
"g": 66,
"b": 179
},
"hsl": {
"h": 232.969,
"s": 55.652,
"l": 45.098
},
"oklch": {
"l": 0.44127,
"c": 0.17825,
"h": 271.2
},
"luminance": 0.07855
}Semantic roles & 50–950 ramp
primary
#3342B3
secondary
#C6BD7C
accent
#CD49DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82