#336AB5#336AB5
#336AB5 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.6% C 0.132 H 256.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #336AB5 |
|---|---|
| RGB | rgb(51, 106, 181) |
| HSL | hsl(215, 56%, 45%) |
| HSV | hsv(215, 72%, 71%) |
| CMYK | cmyk(71.8%, 41.4%, 0%, 29%) |
| CIE-LAB | lab(44.73, 7.59, -45.04) |
| CIE-LCH | lch(44.73, 45.67, 279.56°) |
| OKLab | oklab(52.55% -0.0299 -0.1286) |
| OKLCH | oklch(52.55% 0.132 256.9) |
| XYZ | xyz(14.8567, 14.3465, 45.6933) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.58
French Blue
#436BAD
ΔE00 2.11
Medium Blue
#2C6FBB
ΔE00 2.25
Denim
#1560BD
ΔE00 3.53
Flat Blue
#3C73A8
ΔE00 3.87
Muted Blue
#3B719F
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336AB5 #B57E33
analogous
#33ABB5 #336AB5 #3D33B5
triadic
#336AB5 #B5336A #6AB533
tetradic
#336AB5 #B533AB #B57E33 #33B53D
square
#336AB5 #B533AB #B57E33 #33B53D
split-complementary
#336AB5 #B53D33 #ABB533
monochromatic
#183256 #264E85 #336AB5 #5689CF #86AADD
Accessibility & contrast
On white
5.43
#336AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#336AB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336AB5
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336AB5 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#3164B3
Tritanopia (blue-blind)
#007B86
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #336ab5; /* rgb */ color: rgb(51, 106, 181); /* oklch */ color: oklch(52.6% 0.132 256.9);
Tailwind
colors: {
custom: {
50: '#7b94cb',
500: '#336ab5',
950: '#000000',
},
}SCSS
$custom: #336ab5; $custom-light: #7b94cb; $custom-dark: #000000;
JSON
{
"hex": "#336ab5",
"rgb": {
"r": 51,
"g": 106,
"b": 181
},
"hsl": {
"h": 214.615,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.52551,
"c": 0.13202,
"h": 256.9
},
"luminance": 0.14348
}Semantic roles & 50–950 ramp
primary
#336AB5
secondary
#C6A87D
accent
#A048DF
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D13
muted
#7C7E82