#3334A6#3334A6
#3334A6 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.178 H 274.7°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3334A6 |
|---|---|
| RGB | rgb(51, 52, 166) |
| HSL | hsl(239, 53%, 43%) |
| HSV | hsv(239, 69%, 65%) |
| CMYK | cmyk(69.3%, 68.7%, 0%, 34.9%) |
| CIE-LAB | lab(29.19, 37.05, -61.29) |
| CIE-LCH | lch(29.19, 71.61, 301.15°) |
| OKLab | oklab(40.5% 0.0145 -0.177) |
| OKLCH | oklch(40.5% 0.178 274.7) |
| XYZ | xyz(9.4739, 5.9121, 36.7109) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.40
Blueberry
#464196
ΔE00 5.21
Ocean Blue
#4F42B5
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.96
Indigo Blue
#3A18B1
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3334A6 #A6A533
analogous
#336EA6 #3334A6 #6B33A6
triadic
#3334A6 #A63334 #34A633
tetradic
#3334A6 #A6336E #A6A533 #33A66B
square
#3334A6 #A6336E #A6A533 #33A66B
split-complementary
#3334A6 #A66B33 #6EA633
monochromatic
#161748 #252577 #3334A6 #4E4FC9 #7C7DD7
Accessibility & contrast
On white
9.62
#3334A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#3334A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3334A6
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3334A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3334A6 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #3334a6; /* rgb */ color: rgb(51, 52, 166); /* oklch */ color: oklch(40.5% 0.178 274.7);
Tailwind
colors: {
custom: {
50: '#7b6cc1',
500: '#3334a6',
950: '#000000',
},
}SCSS
$custom: #3334a6; $custom-light: #7b6cc1; $custom-dark: #000000;
JSON
{
"hex": "#3334a6",
"rgb": {
"r": 51,
"g": 52,
"b": 166
},
"hsl": {
"h": 239.478,
"s": 52.995,
"l": 42.549
},
"oklch": {
"l": 0.40497,
"c": 0.17763,
"h": 274.7
},
"luminance": 0.05913
}Semantic roles & 50–950 ramp
primary
#3334A6
secondary
#C0BF75
accent
#DB4BDC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81