#336CB5#336CB5
#336CB5 is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.130 H 255.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #336CB5 |
|---|---|
| RGB | rgb(51, 108, 181) |
| HSL | hsl(214, 56%, 45%) |
| HSV | hsv(214, 72%, 71%) |
| CMYK | cmyk(71.8%, 40.3%, 0%, 29%) |
| CIE-LAB | lab(45.31, 6.33, -44.11) |
| CIE-LCH | lch(45.31, 44.56, 278.17°) |
| OKLab | oklab(53% -0.0318 -0.1258) |
| OKLCH | oklch(53% 0.13 255.8) |
| XYZ | xyz(15.0652, 14.7635, 45.7628) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.42
Medium Blue
#2C6FBB
ΔE00 1.51
French Blue
#436BAD
ΔE00 2.40
Flat Blue
#3C73A8
ΔE00 3.20
Muted Blue
#3B719F
ΔE00 3.81
Denim
#1560BD
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336CB5 #B57C33
analogous
#33ADB5 #336CB5 #3B33B5
triadic
#336CB5 #B5336C #6CB533
tetradic
#336CB5 #B533AD #B57C33 #33B53B
square
#336CB5 #B533AD #B57C33 #33B53B
split-complementary
#336CB5 #B53B33 #ADB533
monochromatic
#183356 #265085 #336CB5 #568BCF #86ACDD
Accessibility & contrast
On white
5.31
#336CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#336CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336CB5
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336CB5 | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A72B8
Deuteranopia (green-blind)
#3566B4
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #336cb5; /* rgb */ color: rgb(51, 108, 181); /* oklch */ color: oklch(53.0% 0.130 255.8);
Tailwind
colors: {
custom: {
50: '#7b95cb',
500: '#336cb5',
950: '#000000',
},
}SCSS
$custom: #336cb5; $custom-light: #7b95cb; $custom-dark: #000000;
JSON
{
"hex": "#336cb5",
"rgb": {
"r": 51,
"g": 108,
"b": 181
},
"hsl": {
"h": 213.692,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.53004,
"c": 0.12979,
"h": 255.8
},
"luminance": 0.14765
}Semantic roles & 50–950 ramp
primary
#336CB5
secondary
#C6A67D
accent
#9D48DF
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82