#334AA9#334AA9
#334AA9 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.155 H 269.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #334AA9 |
|---|---|
| RGB | rgb(51, 74, 169) |
| HSL | hsl(228, 54%, 43%) |
| HSV | hsv(228, 70%, 66%) |
| CMYK | cmyk(69.8%, 56.2%, 0%, 33.7%) |
| CIE-LAB | lab(34.93, 23.92, -53.71) |
| CIE-LCH | lch(34.93, 58.80, 294.01°) |
| OKLab | oklab(44.81% -0.0027 -0.1546) |
| OKLCH | oklch(44.81% 0.155 269) |
| XYZ | xyz(10.9730, 8.4649, 38.5840) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.51
Sapphire
#0F52BA
ΔE00 4.65
Blue Blue
#2242C7
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.06
Sapphire (survey)
#2138AB
ΔE00 5.51
Blueberry
#464196
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334AA9 #A99233
analogous
#3385A9 #334AA9 #5733A9
triadic
#334AA9 #A9334A #4AA933
tetradic
#334AA9 #A93385 #A99233 #33A957
square
#334AA9 #A93385 #A99233 #33A957
split-complementary
#334AA9 #A95733 #85A933
monochromatic
#17214B #25357A #334AA9 #4F67CA #7E90D8
Accessibility & contrast
On white
7.80
#334AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#334AA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334AA9
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334AA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334AA9 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #334aa9; /* rgb */ color: rgb(51, 74, 169); /* oklch */ color: oklch(44.8% 0.155 269.0);
Tailwind
colors: {
custom: {
50: '#7a7cc3',
500: '#334aa9',
950: '#000000',
},
}SCSS
$custom: #334aa9; $custom-light: #7a7cc3; $custom-dark: #000000;
JSON
{
"hex": "#334aa9",
"rgb": {
"r": 51,
"g": 74,
"b": 169
},
"hsl": {
"h": 228.305,
"s": 53.636,
"l": 43.137
},
"oklch": {
"l": 0.44811,
"c": 0.15465,
"h": 269
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#334AA9
secondary
#C1B377
accent
#C14BDD
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82