#334AAC#334AAC
#334AAC is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.159 H 269.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #334AAC |
|---|---|
| RGB | rgb(51, 74, 172) |
| HSL | hsl(229, 54%, 44%) |
| HSV | hsv(229, 70%, 67%) |
| CMYK | cmyk(70.3%, 57%, 0%, 32.5%) |
| CIE-LAB | lab(35.16, 25.03, -55.13) |
| CIE-LCH | lch(35.16, 60.55, 294.42°) |
| OKLab | oklab(45.05% -0.0026 -0.1588) |
| OKLCH | oklch(45.05% 0.159 269.1) |
| XYZ | xyz(11.2579, 8.5788, 40.0843) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.44
Sapphire
#0F52BA
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 5.43
Sapphire (survey)
#2138AB
ΔE00 5.44
Blueberry
#464196
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334AAC #AC9533
analogous
#3386AC #334AAC #5833AC
triadic
#334AAC #AC334A #4AAC33
tetradic
#334AAC #AC3386 #AC9533 #33AC58
square
#334AAC #AC3386 #AC9533 #33AC58
split-complementary
#334AAC #AC5833 #86AC33
monochromatic
#17214E #25367D #334AAC #5168CB #8091D9
Accessibility & contrast
On white
7.73
#334AAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#334AAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334AAC
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334AAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334AAC | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004DAA
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #334aac; /* rgb */ color: rgb(51, 74, 172); /* oklch */ color: oklch(45.1% 0.159 269.1);
Tailwind
colors: {
custom: {
50: '#7a7cc5',
500: '#334aac',
950: '#000000',
},
}SCSS
$custom: #334aac; $custom-light: #7a7cc5; $custom-dark: #000000;
JSON
{
"hex": "#334aac",
"rgb": {
"r": 51,
"g": 74,
"b": 172
},
"hsl": {
"h": 228.595,
"s": 54.26,
"l": 43.725
},
"oklch": {
"l": 0.45053,
"c": 0.15882,
"h": 269.1
},
"luminance": 0.0858
}Semantic roles & 50–950 ramp
primary
#334AAC
secondary
#C2B478
accent
#C24ADE
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82