#334AAA#334AAA
#334AAA is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.156 H 269.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #334AAA |
|---|---|
| RGB | rgb(51, 74, 170) |
| HSL | hsl(228, 54%, 43%) |
| HSV | hsv(228, 70%, 67%) |
| CMYK | cmyk(70%, 56.5%, 0%, 33.3%) |
| CIE-LAB | lab(35.01, 24.29, -54.19) |
| CIE-LCH | lch(35.01, 59.38, 294.15°) |
| OKLab | oklab(44.89% -0.0027 -0.156) |
| OKLCH | oklch(44.89% 0.156 269) |
| XYZ | xyz(11.0672, 8.5026, 39.0803) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 4.62
Blue Blue
#2242C7
ΔE00 4.69
Cobalt (survey)
#1E488F
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 5.48
Blueberry
#464196
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334AAA #AA9333
analogous
#3385AA #334AAA #5733AA
triadic
#334AAA #AA334A #4AAA33
tetradic
#334AAA #AA3385 #AA9333 #33AA57
square
#334AAA #AA3385 #AA9333 #33AA57
split-complementary
#334AAA #AA5733 #85AA33
monochromatic
#17214C #25367B #334AAA #5067CA #7F90D9
Accessibility & contrast
On white
7.78
#334AAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#334AAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334AAA
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334AAA | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#004DA8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #334aaa; /* rgb */ color: rgb(51, 74, 170); /* oklch */ color: oklch(44.9% 0.156 269.0);
Tailwind
colors: {
custom: {
50: '#7a7cc4',
500: '#334aaa',
950: '#000000',
},
}SCSS
$custom: #334aaa; $custom-light: #7a7cc4; $custom-dark: #000000;
JSON
{
"hex": "#334aaa",
"rgb": {
"r": 51,
"g": 74,
"b": 170
},
"hsl": {
"h": 228.403,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.44891,
"c": 0.15605,
"h": 269
},
"luminance": 0.08504
}Semantic roles & 50–950 ramp
primary
#334AAA
secondary
#C2B377
accent
#C14BDD
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82