#336BBB#336BBB
#336BBB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 53.2% C 0.139 H 257.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #336BBB |
|---|---|
| RGB | rgb(51, 107, 187) |
| HSL | hsl(215, 57%, 47%) |
| HSV | hsv(215, 73%, 73%) |
| CMYK | cmyk(72.7%, 42.8%, 0%, 26.7%) |
| CIE-LAB | lab(45.37, 9.18, -47.50) |
| CIE-LCH | lch(45.37, 48.38, 280.94°) |
| OKLab | oklab(53.16% -0.0296 -0.1358) |
| OKLCH | oklch(53.16% 0.139 257.7) |
| XYZ | xyz(15.5893, 14.8053, 49.0402) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.06
Mid Blue
#276AB3
ΔE00 2.06
French Blue
#436BAD
ΔE00 2.27
Denim
#1560BD
ΔE00 3.84
Flat Blue
#3C73A8
ΔE00 3.91
Muted Blue
#3B719F
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336BBB #BB8333
analogous
#33AFBB #336BBB #3F33BB
triadic
#336BBB #BB336B #6BBB33
tetradic
#336BBB #BB33AF #BB8333 #33BB3F
square
#336BBB #BB33AF #BB8333 #33BB3F
split-complementary
#336BBB #BB3F33 #AFBB33
monochromatic
#19345B #264F8B #336BBB #598BD2 #89ADDF
Accessibility & contrast
On white
5.30
#336BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#336BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336BBB
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336BBB | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#2C66B9
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #336bbb; /* rgb */ color: rgb(51, 107, 187); /* oklch */ color: oklch(53.2% 0.139 257.7);
Tailwind
colors: {
custom: {
50: '#7c94d0',
500: '#336bbb',
950: '#000000',
},
}SCSS
$custom: #336bbb; $custom-light: #7c94d0; $custom-dark: #000000;
JSON
{
"hex": "#336bbb",
"rgb": {
"r": 51,
"g": 107,
"b": 187
},
"hsl": {
"h": 215.294,
"s": 57.143,
"l": 46.667
},
"oklch": {
"l": 0.53161,
"c": 0.13899,
"h": 257.7
},
"luminance": 0.14807
}Semantic roles & 50–950 ramp
primary
#336BBB
secondary
#C9AB81
accent
#A147E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82