#334AAE#334AAE
#334AAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.162 H 269.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #334AAE |
|---|---|
| RGB | rgb(51, 74, 174) |
| HSL | hsl(229, 55%, 44%) |
| HSV | hsv(229, 71%, 68%) |
| CMYK | cmyk(70.7%, 57.5%, 0%, 31.8%) |
| CIE-LAB | lab(35.31, 25.77, -56.07) |
| CIE-LCH | lch(35.31, 61.71, 294.68°) |
| OKLab | oklab(45.22% -0.0025 -0.1616) |
| OKLCH | oklch(45.22% 0.162 269.1) |
| XYZ | xyz(11.4514, 8.6562, 41.1035) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.68
Blue Blue
#2242C7
ΔE00 4.19
Sapphire
#0F52BA
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 5.41
Cobalt (survey)
#1E488F
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334AAE #AE9733
analogous
#3388AE #334AAE #5933AE
triadic
#334AAE #AE334A #4AAE33
tetradic
#334AAE #AE3388 #AE9733 #33AE59
square
#334AAE #AE3388 #AE9733 #33AE59
split-complementary
#334AAE #AE5933 #88AE33
monochromatic
#17224F #25367F #334AAE #5269CC #8192DA
Accessibility & contrast
On white
7.69
#334AAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#334AAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334AAE
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334AAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334AAE | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #334aae; /* rgb */ color: rgb(51, 74, 174); /* oklch */ color: oklch(45.2% 0.162 269.1);
Tailwind
colors: {
custom: {
50: '#7b7cc7',
500: '#334aae',
950: '#000000',
},
}SCSS
$custom: #334aae; $custom-light: #7b7cc7; $custom-dark: #000000;
JSON
{
"hex": "#334aae",
"rgb": {
"r": 51,
"g": 74,
"b": 174
},
"hsl": {
"h": 228.78,
"s": 54.667,
"l": 44.118
},
"oklch": {
"l": 0.45216,
"c": 0.16159,
"h": 269.1
},
"luminance": 0.08657
}Semantic roles & 50–950 ramp
primary
#334AAE
secondary
#C3B679
accent
#C24ADE
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82