#336CC2#336CC2
#336CC2 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.8% C 0.147 H 258.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #336CC2 |
|---|---|
| RGB | rgb(51, 108, 194) |
| HSL | hsl(216, 58%, 48%) |
| HSV | hsv(216, 74%, 76%) |
| CMYK | cmyk(73.7%, 44.3%, 0%, 23.9%) |
| CIE-LAB | lab(46.07, 11.16, -50.42) |
| CIE-LCH | lch(46.07, 51.64, 282.48°) |
| OKLab | oklab(53.84% -0.0291 -0.1444) |
| OKLCH | oklch(53.84% 0.147 258.6) |
| XYZ | xyz(16.4619, 15.3221, 53.1184) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.23
French Blue
#436BAD
ΔE00 2.72
Mid Blue
#276AB3
ΔE00 2.80
Flat Blue
#3C73A8
ΔE00 4.14
Denim
#1560BD
ΔE00 4.32
Windows Blue
#3778BF
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336CC2 #C28933
analogous
#33B3C2 #336CC2 #4233C2
triadic
#336CC2 #C2336C #6CC233
tetradic
#336CC2 #C233B3 #C28933 #33C242
square
#336CC2 #C233B3 #C28933 #33C242
split-complementary
#336CC2 #C24233 #B3C233
monochromatic
#1A3661 #265192 #336CC2 #5E8DD5 #8EAFE1
Accessibility & contrast
On white
5.17
#336CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#336CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336CC2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336CC2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#2567C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #336cc2; /* rgb */ color: rgb(51, 108, 194); /* oklch */ color: oklch(53.8% 0.147 258.6);
Tailwind
colors: {
custom: {
50: '#7d95d5',
500: '#336cc2',
950: '#000000',
},
}SCSS
$custom: #336cc2; $custom-light: #7d95d5; $custom-dark: #000000;
JSON
{
"hex": "#336cc2",
"rgb": {
"r": 51,
"g": 108,
"b": 194
},
"hsl": {
"h": 216.084,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.53843,
"c": 0.14729,
"h": 258.6
},
"luminance": 0.15324
}Semantic roles & 50–950 ramp
primary
#336CC2
secondary
#CCB085
accent
#A446E2
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83