#336AB6#336AB6
#336AB6 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.6% C 0.133 H 257.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #336AB6 |
|---|---|
| RGB | rgb(51, 106, 182) |
| HSL | hsl(215, 56%, 46%) |
| HSV | hsv(215, 72%, 71%) |
| CMYK | cmyk(72%, 41.8%, 0%, 28.6%) |
| CIE-LAB | lab(44.78, 7.96, -45.53) |
| CIE-LCH | lch(44.78, 46.22, 279.92°) |
| OKLab | oklab(52.62% -0.0297 -0.13) |
| OKLCH | oklch(52.62% 0.133 257.1) |
| XYZ | xyz(14.9597, 14.3877, 46.2356) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.67
French Blue
#436BAD
ΔE00 2.10
Medium Blue
#2C6FBB
ΔE00 2.26
Denim
#1560BD
ΔE00 3.52
Flat Blue
#3C73A8
ΔE00 3.92
Muted Blue
#3B719F
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336AB6 #B67F33
analogous
#33ABB6 #336AB6 #3D33B6
triadic
#336AB6 #B6336A #6AB633
tetradic
#336AB6 #B633AB #B67F33 #33B63D
square
#336AB6 #B633AB #B67F33 #33B63D
split-complementary
#336AB6 #B63D33 #ABB633
monochromatic
#183256 #264E86 #336AB6 #5689D0 #86ABDD
Accessibility & contrast
On white
5.42
#336AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#336AB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336AB6
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336AB6 | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4670B9
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #336ab6; /* rgb */ color: rgb(51, 106, 182); /* oklch */ color: oklch(52.6% 0.133 257.1);
Tailwind
colors: {
custom: {
50: '#7b94cc',
500: '#336ab6',
950: '#000000',
},
}SCSS
$custom: #336ab6; $custom-light: #7b94cc; $custom-dark: #000000;
JSON
{
"hex": "#336ab6",
"rgb": {
"r": 51,
"g": 106,
"b": 182
},
"hsl": {
"h": 214.809,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.52615,
"c": 0.13338,
"h": 257.1
},
"luminance": 0.14389
}Semantic roles & 50–950 ramp
primary
#336AB6
secondary
#C7A87E
accent
#A048E0
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0B0D13
muted
#7C7E82