#334CBB#334CBB
#334CBB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.177 H 268.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #334CBB |
|---|---|
| RGB | rgb(51, 76, 187) |
| HSL | hsl(229, 57%, 47%) |
| HSV | hsv(229, 73%, 73%) |
| CMYK | cmyk(72.7%, 59.4%, 0%, 26.7%) |
| CIE-LAB | lab(36.85, 29.24, -61.25) |
| CIE-LCH | lch(36.85, 67.87, 295.52°) |
| OKLab | oklab(46.69% -0.0038 -0.1767) |
| OKLCH | oklch(46.69% 0.177 268.8) |
| XYZ | xyz(12.9162, 9.4592, 48.1492) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.39
Sapphire
#0F52BA
ΔE00 4.21
Cobalt
#0047AB
ΔE00 4.58
Blue (survey)
#0343DF
ΔE00 5.04
Ocean Blue
#4F42B5
ΔE00 5.61
Sapphire (survey)
#2138AB
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334CBB #BBA233
analogous
#3390BB #334CBB #5E33BB
triadic
#334CBB #BB334C #4CBB33
tetradic
#334CBB #BB3390 #BBA233 #33BB5E
square
#334CBB #BB3390 #BBA233 #33BB5E
split-complementary
#334CBB #BB5E33 #90BB33
monochromatic
#19255B #26388B #334CBB #5970D2 #8999DF
Accessibility & contrast
On white
7.26
#334CBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#334CBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334CBB
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334CBB | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #334cbb; /* rgb */ color: rgb(51, 76, 187); /* oklch */ color: oklch(46.7% 0.177 268.8);
Tailwind
colors: {
custom: {
50: '#7d7dd0',
500: '#334cbb',
950: '#000000',
},
}SCSS
$custom: #334cbb; $custom-light: #7d7dd0; $custom-dark: #000000;
JSON
{
"hex": "#334cbb",
"rgb": {
"r": 51,
"g": 76,
"b": 187
},
"hsl": {
"h": 228.971,
"s": 57.143,
"l": 46.667
},
"oklch": {
"l": 0.46685,
"c": 0.17678,
"h": 268.8
},
"luminance": 0.09461
}Semantic roles & 50–950 ramp
primary
#334CBB
secondary
#C9BC81
accent
#C447E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82