#334CBD#334CBD
#334CBD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.9% C 0.179 H 268.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #334CBD |
|---|---|
| RGB | rgb(51, 76, 189) |
| HSL | hsl(229, 58%, 47%) |
| HSV | hsv(229, 73%, 74%) |
| CMYK | cmyk(73%, 59.8%, 0%, 25.9%) |
| CIE-LAB | lab(37.01, 29.98, -62.16) |
| CIE-LCH | lch(37.01, 69.01, 295.75°) |
| OKLab | oklab(46.85% -0.0037 -0.1794) |
| OKLCH | oklch(46.85% 0.179 268.8) |
| XYZ | xyz(13.1318, 9.5454, 49.2846) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.26
Sapphire
#0F52BA
ΔE00 4.30
Cobalt
#0047AB
ΔE00 4.77
Blue (survey)
#0343DF
ΔE00 4.81
Ocean Blue
#4F42B5
ΔE00 5.57
Warm Blue
#4B57DB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334CBD #BDA433
analogous
#3391BD #334CBD #5F33BD
triadic
#334CBD #BD334C #4CBD33
tetradic
#334CBD #BD3391 #BDA433 #33BD5F
square
#334CBD #BD3391 #BDA433 #33BD5F
split-complementary
#334CBD #BD5F33 #91BD33
monochromatic
#19255D #26398D #334CBD #5B70D3 #8B9AE0
Accessibility & contrast
On white
7.22
#334CBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#334CBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334CBD
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334CBD | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #334cbd; /* rgb */ color: rgb(51, 76, 189); /* oklch */ color: oklch(46.9% 0.179 268.8);
Tailwind
colors: {
custom: {
50: '#7e7dd2',
500: '#334cbd',
950: '#000000',
},
}SCSS
$custom: #334cbd; $custom-light: #7e7dd2; $custom-dark: #000000;
JSON
{
"hex": "#334cbd",
"rgb": {
"r": 51,
"g": 76,
"b": 189
},
"hsl": {
"h": 229.13,
"s": 57.5,
"l": 47.059
},
"oklch": {
"l": 0.46854,
"c": 0.17946,
"h": 268.8
},
"luminance": 0.09547
}Semantic roles & 50–950 ramp
primary
#334CBD
secondary
#CABD82
accent
#C547E1
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83