#334CAA#334CAA
#334CAA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.153 H 268.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #334CAA |
|---|---|
| RGB | rgb(51, 76, 170) |
| HSL | hsl(227, 54%, 43%) |
| HSV | hsv(227, 70%, 67%) |
| CMYK | cmyk(70%, 55.3%, 0%, 33.3%) |
| CIE-LAB | lab(35.55, 22.97, -53.32) |
| CIE-LCH | lch(35.55, 58.06, 293.31°) |
| OKLab | oklab(45.29% -0.0044 -0.1534) |
| OKLCH | oklch(45.29% 0.154 268.4) |
| XYZ | xyz(11.2029, 8.7739, 39.1255) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 4.12
Cobalt (survey)
#1E488F
ΔE00 5.02
Blue Blue
#2242C7
ΔE00 5.10
Blueberry
#464196
ΔE00 6.11
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334CAA #AA9133
analogous
#3387AA #334CAA #5533AA
triadic
#334CAA #AA334C #4CAA33
tetradic
#334CAA #AA3387 #AA9133 #33AA55
square
#334CAA #AA3387 #AA9133 #33AA55
split-complementary
#334CAA #AA5533 #87AA33
monochromatic
#17224C #25377B #334CAA #506ACA #7F92D9
Accessibility & contrast
On white
7.62
#334CAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#334CAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334CAA
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334CAA | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #334caa; /* rgb */ color: rgb(51, 76, 170); /* oklch */ color: oklch(45.3% 0.153 268.4);
Tailwind
colors: {
custom: {
50: '#7a7dc4',
500: '#334caa',
950: '#000000',
},
}SCSS
$custom: #334caa; $custom-light: #7a7dc4; $custom-dark: #000000;
JSON
{
"hex": "#334caa",
"rgb": {
"r": 51,
"g": 76,
"b": 170
},
"hsl": {
"h": 227.395,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.45294,
"c": 0.1535,
"h": 268.4
},
"luminance": 0.08775
}Semantic roles & 50–950 ramp
primary
#334CAA
secondary
#C2B277
accent
#BE4BDD
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82