#336BBD#336BBD
#336BBD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.3% C 0.142 H 258.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #336BBD |
|---|---|
| RGB | rgb(51, 107, 189) |
| HSL | hsl(216, 58%, 47%) |
| HSV | hsv(216, 73%, 74%) |
| CMYK | cmyk(73%, 43.4%, 0%, 25.9%) |
| CIE-LAB | lab(45.49, 9.93, -48.47) |
| CIE-LCH | lch(45.49, 49.48, 281.57°) |
| OKLab | oklab(53.29% -0.0292 -0.1387) |
| OKLCH | oklch(53.29% 0.142 258.1) |
| XYZ | xyz(15.8049, 14.8916, 50.1757) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.17
Mid Blue
#276AB3
ΔE00 2.28
French Blue
#436BAD
ΔE00 2.34
Denim
#1560BD
ΔE00 3.87
Flat Blue
#3C73A8
ΔE00 4.04
Muted Blue
#3B719F
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336BBD #BD8533
analogous
#33B0BD #336BBD #4033BD
triadic
#336BBD #BD336B #6BBD33
tetradic
#336BBD #BD33B0 #BD8533 #33BD40
square
#336BBD #BD33B0 #BD8533 #33BD40
split-complementary
#336BBD #BD4033 #B0BD33
monochromatic
#19345D #26508D #336BBD #5B8BD3 #8BADE0
Accessibility & contrast
On white
5.28
#336BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#336BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336BBD
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336BBD | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4373C0
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #336bbd; /* rgb */ color: rgb(51, 107, 189); /* oklch */ color: oklch(53.3% 0.142 258.1);
Tailwind
colors: {
custom: {
50: '#7c94d1',
500: '#336bbd',
950: '#000000',
},
}SCSS
$custom: #336bbd; $custom-light: #7c94d1; $custom-dark: #000000;
JSON
{
"hex": "#336bbd",
"rgb": {
"r": 51,
"g": 107,
"b": 189
},
"hsl": {
"h": 215.652,
"s": 57.5,
"l": 47.059
},
"oklch": {
"l": 0.53292,
"c": 0.1417,
"h": 258.1
},
"luminance": 0.14893
}Semantic roles & 50–950 ramp
primary
#336BBD
secondary
#CAAD82
accent
#A247E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82