#336AB4#336AB4
#336AB4 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.5% C 0.131 H 256.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #336AB4 |
|---|---|
| RGB | rgb(51, 106, 180) |
| HSL | hsl(214, 56%, 45%) |
| HSV | hsv(214, 72%, 71%) |
| CMYK | cmyk(71.7%, 41.1%, 0%, 29.4%) |
| CIE-LAB | lab(44.67, 7.22, -44.55) |
| CIE-LCH | lch(44.67, 45.13, 279.21°) |
| OKLab | oklab(52.49% -0.0301 -0.1272) |
| OKLCH | oklch(52.49% 0.131 256.7) |
| XYZ | xyz(14.7545, 14.3056, 45.1548) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.49
French Blue
#436BAD
ΔE00 2.12
Medium Blue
#2C6FBB
ΔE00 2.24
Denim
#1560BD
ΔE00 3.55
Flat Blue
#3C73A8
ΔE00 3.82
Muted Blue
#3B719F
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336AB4 #B47D33
analogous
#33AAB4 #336AB4 #3D33B4
triadic
#336AB4 #B4336A #6AB433
tetradic
#336AB4 #B433AA #B47D33 #33B43D
square
#336AB4 #B433AA #B47D33 #33B43D
split-complementary
#336AB4 #B43D33 #AAB433
monochromatic
#183255 #254E84 #336AB4 #5589CF #85AADC
Accessibility & contrast
On white
5.44
#336AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#336AB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336AB4
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336AB4 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4770B7
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #336ab4; /* rgb */ color: rgb(51, 106, 180); /* oklch */ color: oklch(52.5% 0.131 256.7);
Tailwind
colors: {
custom: {
50: '#7b94cb',
500: '#336ab4',
950: '#000000',
},
}SCSS
$custom: #336ab4; $custom-light: #7b94cb; $custom-dark: #000000;
JSON
{
"hex": "#336ab4",
"rgb": {
"r": 51,
"g": 106,
"b": 180
},
"hsl": {
"h": 214.419,
"s": 55.844,
"l": 45.294
},
"oklch": {
"l": 0.52487,
"c": 0.13067,
"h": 256.7
},
"luminance": 0.14307
}Semantic roles & 50–950 ramp
primary
#336AB4
secondary
#C6A77D
accent
#9F49DF
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82