#336FC2#336FC2
#336FC2 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.5% C 0.144 H 257.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #336FC2 |
|---|---|
| RGB | rgb(51, 111, 194) |
| HSL | hsl(215, 58%, 48%) |
| HSV | hsv(215, 74%, 76%) |
| CMYK | cmyk(73.7%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(46.93, 9.26, -49.05) |
| CIE-LCH | lch(46.93, 49.92, 280.70°) |
| OKLab | oklab(54.51% -0.0318 -0.1403) |
| OKLCH | oklch(54.51% 0.144 257.2) |
| XYZ | xyz(16.7837, 15.9659, 53.2256) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.54
Mid Blue
#276AB3
ΔE00 2.94
French Blue
#436BAD
ΔE00 3.27
Flat Blue
#3C73A8
ΔE00 3.46
Windows Blue
#3778BF
ΔE00 3.47
Bluish
#2976BB
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#336FC2 #C28633
analogous
#33B6C2 #336FC2 #3E33C2
triadic
#336FC2 #C2336F #6FC233
tetradic
#336FC2 #C233B6 #C28633 #33C23E
square
#336FC2 #C233B6 #C28633 #33C23E
split-complementary
#336FC2 #C23E33 #B6C233
monochromatic
#1A3861 #265392 #336FC2 #5E90D5 #8EB1E1
Accessibility & contrast
On white
5.01
#336FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#336FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #336FC2
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##336FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##336FC2 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#2D69C0
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #336fc2; /* rgb */ color: rgb(51, 111, 194); /* oklch */ color: oklch(54.5% 0.144 257.2);
Tailwind
colors: {
custom: {
50: '#7d97d5',
500: '#336fc2',
950: '#000000',
},
}SCSS
$custom: #336fc2; $custom-light: #7d97d5; $custom-dark: #000000;
JSON
{
"hex": "#336fc2",
"rgb": {
"r": 51,
"g": 111,
"b": 194
},
"hsl": {
"h": 214.825,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.54506,
"c": 0.14384,
"h": 257.2
},
"luminance": 0.15968
}Semantic roles & 50–950 ramp
primary
#336FC2
secondary
#CCAE85
accent
#A046E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83