#336CB6#336CB6
#336CB6 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.1% C 0.131 H 256.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #336CB6 |
|---|---|
| RGB | rgb(51, 108, 182) |
| HSL | hsl(214, 56%, 46%) |
| HSV | hsv(214, 72%, 71%) |
| CMYK | cmyk(72%, 40.7%, 0%, 28.6%) |
| CIE-LAB | lab(45.37, 6.70, -44.60) |
| CIE-LCH | lch(45.37, 45.10, 278.54°) |
| OKLab | oklab(53.07% -0.0316 -0.1273) |
| OKLCH | oklch(53.07% 0.131 256.1) |
| XYZ | xyz(15.1682, 14.8047, 46.3051) |
| Luminance | 0.1481 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.51
Medium Blue
#2C6FBB
ΔE00 1.52
French Blue
#436BAD
ΔE00 2.38
Flat Blue
#3C73A8
ΔE00 3.26
Muted Blue
#3B719F
ΔE00 3.90
Denim
#1560BD
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336CB6 #B67D33
analogous
#33ADB6 #336CB6 #3B33B6
triadic
#336CB6 #B6336C #6CB633
tetradic
#336CB6 #B633AD #B67D33 #33B63B
square
#336CB6 #B633AD #B67D33 #33B63B
split-complementary
#336CB6 #B63B33 #ADB633
monochromatic
#183356 #265086 #336CB6 #568BD0 #86ACDD
Accessibility & contrast
On white
5.30
#336CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#336CB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336CB6
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336CB6 | 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)
#4972B9
Deuteranopia (green-blind)
#3466B5
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #336cb6; /* rgb */ color: rgb(51, 108, 182); /* oklch */ color: oklch(53.1% 0.131 256.1);
Tailwind
colors: {
custom: {
50: '#7b95cc',
500: '#336cb6',
950: '#000000',
},
}SCSS
$custom: #336cb6; $custom-light: #7b95cc; $custom-dark: #000000;
JSON
{
"hex": "#336cb6",
"rgb": {
"r": 51,
"g": 108,
"b": 182
},
"hsl": {
"h": 213.893,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.53067,
"c": 0.13113,
"h": 256.1
},
"luminance": 0.14806
}Semantic roles & 50–950 ramp
primary
#336CB6
secondary
#C7A77E
accent
#9E48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82