#334BB9#334BB9
#334BB9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.175 H 269.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #334BB9 |
|---|---|
| RGB | rgb(51, 75, 185) |
| HSL | hsl(229, 57%, 46%) |
| HSV | hsv(229, 72%, 73%) |
| CMYK | cmyk(72.4%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(36.44, 29.16, -60.75) |
| CIE-LCH | lch(36.44, 67.38, 295.64°) |
| OKLab | oklab(46.33% -0.003 -0.1753) |
| OKLCH | oklch(46.33% 0.175 269) |
| XYZ | xyz(12.6353, 9.2374, 47.0066) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.27
Sapphire
#0F52BA
ΔE00 4.39
Cobalt
#0047AB
ΔE00 4.42
Blue (survey)
#0343DF
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334BB9 #B9A133
analogous
#338EB9 #334BB9 #5E33B9
triadic
#334BB9 #B9334B #4BB933
tetradic
#334BB9 #B9338E #B9A133 #33B95E
square
#334BB9 #B9338E #B9A133 #33B95E
split-complementary
#334BB9 #B95E33 #8EB933
monochromatic
#192459 #263889 #334BB9 #586ED1 #8898DE
Accessibility & contrast
On white
7.37
#334BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#334BB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334BB9
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334BB9 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #334bb9; /* rgb */ color: rgb(51, 75, 185); /* oklch */ color: oklch(46.3% 0.175 269.0);
Tailwind
colors: {
custom: {
50: '#7d7dcf',
500: '#334bb9',
950: '#000000',
},
}SCSS
$custom: #334bb9; $custom-light: #7d7dcf; $custom-dark: #000000;
JSON
{
"hex": "#334bb9",
"rgb": {
"r": 51,
"g": 75,
"b": 185
},
"hsl": {
"h": 229.254,
"s": 56.78,
"l": 46.275
},
"oklch": {
"l": 0.46325,
"c": 0.17532,
"h": 269
},
"luminance": 0.09239
}Semantic roles & 50–950 ramp
primary
#334BB9
secondary
#C8BB80
accent
#C548E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82