#336EB2#336EB2
#336EB2 is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.124 H 253.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #336EB2 |
|---|---|
| RGB | rgb(51, 110, 178) |
| HSL | hsl(212, 55%, 45%) |
| HSV | hsv(212, 71%, 70%) |
| CMYK | cmyk(71.3%, 38.2%, 0%, 30.2%) |
| CIE-LAB | lab(45.73, 3.98, -41.69) |
| CIE-LCH | lch(45.73, 41.88, 275.45°) |
| OKLab | oklab(53.28% -0.0344 -0.1187) |
| OKLCH | oklch(53.28% 0.124 253.8) |
| XYZ | xyz(14.9741, 15.0684, 44.2302) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.01
Mid Blue
#276AB3
ΔE00 1.54
Flat Blue
#3C73A8
ΔE00 2.34
French Blue
#436BAD
ΔE00 3.00
Muted Blue
#3B719F
ΔE00 3.08
Bluish
#2976BB
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336EB2 #B27733
analogous
#33AEB2 #336EB2 #3733B2
triadic
#336EB2 #B2336E #6EB233
tetradic
#336EB2 #B233AE #B27733 #33B237
square
#336EB2 #B233AE #B27733 #33B237
split-complementary
#336EB2 #B23733 #AEB233
monochromatic
#183353 #255182 #336EB2 #548DCE #84ADDC
Accessibility & contrast
On white
5.23
#336EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#336EB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336EB2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336EB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336EB2 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#3C67B1
Tritanopia (blue-blind)
#007E87
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #336eb2; /* rgb */ color: rgb(51, 110, 178); /* oklch */ color: oklch(53.3% 0.124 253.8);
Tailwind
colors: {
custom: {
50: '#7a97c9',
500: '#336eb2',
950: '#000000',
},
}SCSS
$custom: #336eb2; $custom-light: #7a97c9; $custom-dark: #000000;
JSON
{
"hex": "#336eb2",
"rgb": {
"r": 51,
"g": 110,
"b": 178
},
"hsl": {
"h": 212.126,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.53276,
"c": 0.12361,
"h": 253.8
},
"luminance": 0.1507
}Semantic roles & 50–950 ramp
primary
#336EB2
secondary
#C5A37C
accent
#9949DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82