#334BB6#334BB6
#334BB6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.171 H 269.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #334BB6 |
|---|---|
| RGB | rgb(51, 75, 182) |
| HSL | hsl(229, 56%, 46%) |
| HSV | hsv(229, 72%, 71%) |
| CMYK | cmyk(72%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(36.20, 28.06, -59.37) |
| CIE-LCH | lch(36.20, 65.67, 295.30°) |
| OKLab | oklab(46.07% -0.0031 -0.1712) |
| OKLCH | oklch(46.07% 0.171 269) |
| XYZ | xyz(12.3219, 9.1121, 45.3563) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.54
Cobalt
#0047AB
ΔE00 4.16
Sapphire
#0F52BA
ΔE00 4.30
Blue (survey)
#0343DF
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 5.52
Sapphire (survey)
#2138AB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334BB6 #B69E33
analogous
#338CB6 #334BB6 #5D33B6
triadic
#334BB6 #B6334B #4BB633
tetradic
#334BB6 #B6338C #B69E33 #33B65D
square
#334BB6 #B6338C #B69E33 #33B65D
split-complementary
#334BB6 #B65D33 #8CB633
monochromatic
#182456 #263786 #334BB6 #566DD0 #8696DD
Accessibility & contrast
On white
7.44
#334BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#334BB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334BB6
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334BB6 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #334bb6; /* rgb */ color: rgb(51, 75, 182); /* oklch */ color: oklch(46.1% 0.171 269.0);
Tailwind
colors: {
custom: {
50: '#7c7dcd',
500: '#334bb6',
950: '#000000',
},
}SCSS
$custom: #334bb6; $custom-light: #7c7dcd; $custom-dark: #000000;
JSON
{
"hex": "#334bb6",
"rgb": {
"r": 51,
"g": 75,
"b": 182
},
"hsl": {
"h": 229.008,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.46073,
"c": 0.17127,
"h": 269
},
"luminance": 0.09113
}Semantic roles & 50–950 ramp
primary
#334BB6
secondary
#C7B97E
accent
#C448E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82