#336CBD#336CBD
#336CBD is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.5% C 0.141 H 257.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #336CBD |
|---|---|
| RGB | rgb(51, 108, 189) |
| HSL | hsl(215, 58%, 47%) |
| HSV | hsv(215, 73%, 74%) |
| CMYK | cmyk(73%, 42.9%, 0%, 25.9%) |
| CIE-LAB | lab(45.77, 9.30, -48.01) |
| CIE-LCH | lch(45.77, 48.90, 280.96°) |
| OKLab | oklab(53.51% -0.0301 -0.1373) |
| OKLCH | oklch(53.51% 0.141 257.6) |
| XYZ | xyz(15.9098, 15.1013, 50.2106) |
| Luminance | 0.1510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.83
Mid Blue
#276AB3
ΔE00 2.23
French Blue
#436BAD
ΔE00 2.47
Flat Blue
#3C73A8
ΔE00 3.76
Denim
#1560BD
ΔE00 4.18
Muted Blue
#3B719F
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336CBD #BD8433
analogous
#33B1BD #336CBD #3F33BD
triadic
#336CBD #BD336C #6CBD33
tetradic
#336CBD #BD33B1 #BD8433 #33BD3F
square
#336CBD #BD33B1 #BD8433 #33BD3F
split-complementary
#336CBD #BD3F33 #B1BD33
monochromatic
#19355D #26508D #336CBD #5B8CD3 #8BAEE0
Accessibility & contrast
On white
5.22
#336CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#336CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336CBD
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336CBD | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#2C67BB
Tritanopia (blue-blind)
#007F8B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #336cbd; /* rgb */ color: rgb(51, 108, 189); /* oklch */ color: oklch(53.5% 0.141 257.6);
Tailwind
colors: {
custom: {
50: '#7c95d1',
500: '#336cbd',
950: '#000000',
},
}SCSS
$custom: #336cbd; $custom-light: #7c95d1; $custom-dark: #000000;
JSON
{
"hex": "#336cbd",
"rgb": {
"r": 51,
"g": 108,
"b": 189
},
"hsl": {
"h": 215.217,
"s": 57.5,
"l": 47.059
},
"oklch": {
"l": 0.53514,
"c": 0.14055,
"h": 257.6
},
"luminance": 0.15103
}Semantic roles & 50–950 ramp
primary
#336CBD
secondary
#CAAC82
accent
#A147E1
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D14
muted
#7C7E82