#334BB3#334BB3
#334BB3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.167 H 268.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #334BB3 |
|---|---|
| RGB | rgb(51, 75, 179) |
| HSL | hsl(229, 56%, 45%) |
| HSV | hsv(229, 72%, 70%) |
| CMYK | cmyk(71.5%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(35.96, 26.96, -57.98) |
| CIE-LCH | lch(35.96, 63.94, 294.94°) |
| OKLab | oklab(45.82% -0.0031 -0.1672) |
| OKLCH | oklch(45.82% 0.167 268.9) |
| XYZ | xyz(12.0152, 8.9894, 43.7410) |
| Luminance | 0.0899 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.84
Cobalt
#0047AB
ΔE00 3.94
Sapphire
#0F52BA
ΔE00 4.26
Ocean Blue
#4F42B5
ΔE00 5.66
Sapphire (survey)
#2138AB
ΔE00 5.72
Blue (survey)
#0343DF
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334BB3 #B39B33
analogous
#338BB3 #334BB3 #5B33B3
triadic
#334BB3 #B3334B #4BB333
tetradic
#334BB3 #B3338B #B39B33 #33B35B
square
#334BB3 #B3338B #B39B33 #33B35B
split-complementary
#334BB3 #B35B33 #8BB333
monochromatic
#182354 #253783 #334BB3 #556CCE #8495DC
Accessibility & contrast
On white
7.50
#334BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#334BB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334BB3
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334BB3 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #334bb3; /* rgb */ color: rgb(51, 75, 179); /* oklch */ color: oklch(45.8% 0.167 268.9);
Tailwind
colors: {
custom: {
50: '#7c7dcb',
500: '#334bb3',
950: '#000000',
},
}SCSS
$custom: #334bb3; $custom-light: #7c7dcb; $custom-dark: #000000;
JSON
{
"hex": "#334bb3",
"rgb": {
"r": 51,
"g": 75,
"b": 179
},
"hsl": {
"h": 228.75,
"s": 55.652,
"l": 45.098
},
"oklch": {
"l": 0.45824,
"c": 0.16719,
"h": 268.9
},
"luminance": 0.08991
}Semantic roles & 50–950 ramp
primary
#334BB3
secondary
#C6B87C
accent
#C349DF
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82