#336CB8#336CB8
#336CB8 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.2% C 0.134 H 256.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #336CB8 |
|---|---|
| RGB | rgb(51, 108, 184) |
| HSL | hsl(214, 57%, 46%) |
| HSV | hsv(214, 72%, 72%) |
| CMYK | cmyk(72.3%, 41.3%, 0%, 27.8%) |
| CIE-LAB | lab(45.48, 7.44, -45.58) |
| CIE-LCH | lch(45.48, 46.18, 279.27°) |
| OKLab | oklab(53.19% -0.0311 -0.1301) |
| OKLCH | oklch(53.19% 0.134 256.5) |
| XYZ | xyz(15.3764, 14.8879, 47.4014) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.56
Mid Blue
#276AB3
ΔE00 1.70
French Blue
#436BAD
ΔE00 2.37
Flat Blue
#3C73A8
ΔE00 3.40
Muted Blue
#3B719F
ΔE00 4.07
Denim
#1560BD
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336CB8 #B87F33
analogous
#33AEB8 #336CB8 #3C33B8
triadic
#336CB8 #B8336C #6CB833
tetradic
#336CB8 #B833AE #B87F33 #33B83C
square
#336CB8 #B833AE #B87F33 #33B83C
split-complementary
#336CB8 #B83C33 #AEB833
monochromatic
#183458 #265088 #336CB8 #588BD1 #88ADDE
Accessibility & contrast
On white
5.28
#336CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#336CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336CB8
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336CB8 | 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)
#4872BB
Deuteranopia (green-blind)
#3266B6
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #336cb8; /* rgb */ color: rgb(51, 108, 184); /* oklch */ color: oklch(53.2% 0.134 256.5);
Tailwind
colors: {
custom: {
50: '#7b95ce',
500: '#336cb8',
950: '#000000',
},
}SCSS
$custom: #336cb8; $custom-light: #7b95ce; $custom-dark: #000000;
JSON
{
"hex": "#336cb8",
"rgb": {
"r": 51,
"g": 108,
"b": 184
},
"hsl": {
"h": 214.286,
"s": 56.596,
"l": 46.078
},
"oklch": {
"l": 0.53193,
"c": 0.13382,
"h": 256.5
},
"luminance": 0.1489
}Semantic roles & 50–950 ramp
primary
#336CB8
secondary
#C8A97F
accent
#9F48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82