#336BB6#336BB6
#336BB6 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.132 H 256.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #336BB6 |
|---|---|
| RGB | rgb(51, 107, 182) |
| HSL | hsl(214, 56%, 46%) |
| HSV | hsv(214, 72%, 71%) |
| CMYK | cmyk(72%, 41.2%, 0%, 28.6%) |
| CIE-LAB | lab(45.07, 7.33, -45.06) |
| CIE-LCH | lch(45.07, 45.66, 279.24°) |
| OKLab | oklab(52.84% -0.0306 -0.1286) |
| OKLCH | oklch(52.84% 0.132 256.6) |
| XYZ | xyz(15.0633, 14.5950, 46.2701) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.54
Medium Blue
#2C6FBB
ΔE00 1.89
French Blue
#436BAD
ΔE00 2.21
Flat Blue
#3C73A8
ΔE00 3.59
Denim
#1560BD
ΔE00 3.84
Muted Blue
#3B719F
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336BB6 #B67E33
analogous
#33ACB6 #336BB6 #3C33B6
triadic
#336BB6 #B6336B #6BB633
tetradic
#336BB6 #B633AC #B67E33 #33B63C
square
#336BB6 #B633AC #B67E33 #33B63C
split-complementary
#336BB6 #B63C33 #ACB633
monochromatic
#183356 #264F86 #336BB6 #568AD0 #86ABDD
Accessibility & contrast
On white
5.36
#336BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#336BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336BB6
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336BB6 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4871B9
Deuteranopia (green-blind)
#3265B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #336bb6; /* rgb */ color: rgb(51, 107, 182); /* oklch */ color: oklch(52.8% 0.132 256.6);
Tailwind
colors: {
custom: {
50: '#7b94cc',
500: '#336bb6',
950: '#000000',
},
}SCSS
$custom: #336bb6; $custom-light: #7b94cc; $custom-dark: #000000;
JSON
{
"hex": "#336bb6",
"rgb": {
"r": 51,
"g": 107,
"b": 182
},
"hsl": {
"h": 214.351,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.5284,
"c": 0.13225,
"h": 256.6
},
"luminance": 0.14597
}Semantic roles & 50–950 ramp
primary
#336BB6
secondary
#C7A87E
accent
#9F48E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82