#3334A4#3334A4
#3334A4 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.3% C 0.175 H 274.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #3334A4 |
|---|---|
| RGB | rgb(51, 52, 164) |
| HSL | hsl(239, 53%, 42%) |
| HSV | hsv(239, 69%, 64%) |
| CMYK | cmyk(68.9%, 68.3%, 0%, 35.7%) |
| CIE-LAB | lab(29.00, 36.35, -60.39) |
| CIE-LCH | lch(29.00, 70.49, 301.05°) |
| OKLab | oklab(40.31% 0.0147 -0.1744) |
| OKLCH | oklch(40.31% 0.175 274.8) |
| XYZ | xyz(9.2919, 5.8393, 35.7522) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.46
Blueberry
#464196
ΔE00 5.07
Ocean Blue
#4F42B5
ΔE00 5.52
Darkslateblue
#483D8B
ΔE00 6.03
Blue Blue
#2242C7
ΔE00 6.15
Indigo Blue
#3A18B1
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3334A4 #A4A333
analogous
#336DA4 #3334A4 #6B33A4
triadic
#3334A4 #A43334 #34A433
tetradic
#3334A4 #A4336D #A4A333 #33A46B
square
#3334A4 #A4336D #A4A333 #33A46B
split-complementary
#3334A4 #A46B33 #6DA433
monochromatic
#161647 #242575 #3334A4 #4D4EC8 #7B7CD6
Accessibility & contrast
On white
9.69
#3334A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#3334A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3334A4
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3334A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3334A4 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005267
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #3334a4; /* rgb */ color: rgb(51, 52, 164); /* oklch */ color: oklch(40.3% 0.175 274.8);
Tailwind
colors: {
custom: {
50: '#7a6cc0',
500: '#3334a4',
950: '#000000',
},
}SCSS
$custom: #3334a4; $custom-light: #7a6cc0; $custom-dark: #000000;
JSON
{
"hex": "#3334a4",
"rgb": {
"r": 51,
"g": 52,
"b": 164
},
"hsl": {
"h": 239.469,
"s": 52.558,
"l": 42.157
},
"oklch": {
"l": 0.40305,
"c": 0.17503,
"h": 274.8
},
"luminance": 0.0584
}Semantic roles & 50–950 ramp
primary
#3334A4
secondary
#BFBE74
accent
#DB4CDC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81