#337AC6#337AC6
#337AC6 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.2% C 0.137 H 252.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #337AC6 |
|---|---|
| RGB | rgb(51, 122, 198) |
| HSL | hsl(211, 59%, 49%) |
| HSV | hsv(211, 74%, 78%) |
| CMYK | cmyk(74.2%, 38.4%, 0%, 22.4%) |
| CIE-LAB | lab(50.33, 3.93, -45.92) |
| CIE-LCH | lch(50.33, 46.09, 274.89°) |
| OKLab | oklab(57.23% -0.0408 -0.1309) |
| OKLCH | oklch(57.23% 0.137 252.7) |
| XYZ | xyz(18.5140, 18.6980, 56.0485) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.03
Bluish
#2976BB
ΔE00 2.34
Steel Blue
#4682B4
ΔE00 3.92
Flat Blue
#3C73A8
ΔE00 4.07
Cool Blue
#4984B8
ΔE00 4.18
Medium Blue
#2C6FBB
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337AC6 #C67F33
analogous
#33C4C6 #337AC6 #3533C6
triadic
#337AC6 #C6337A #7AC633
tetradic
#337AC6 #C633C4 #C67F33 #33C635
square
#337AC6 #C633C4 #C67F33 #33C635
split-complementary
#337AC6 #C63533 #C4C633
monochromatic
#1A3E65 #265C95 #337AC6 #6099D6 #91B8E3
Accessibility & contrast
On white
4.43
#337AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#337AC6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337AC6
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337AC6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337AC6 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#577FC9
Deuteranopia (green-blind)
#4072C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #337ac6; /* rgb */ color: rgb(51, 122, 198); /* oklch */ color: oklch(57.2% 0.137 252.7);
Tailwind
colors: {
custom: {
50: '#7ea0d8',
500: '#337ac6',
950: '#000000',
},
}SCSS
$custom: #337ac6; $custom-light: #7ea0d8; $custom-dark: #000000;
JSON
{
"hex": "#337ac6",
"rgb": {
"r": 51,
"g": 122,
"b": 198
},
"hsl": {
"h": 211.02,
"s": 59.036,
"l": 48.824
},
"oklch": {
"l": 0.57227,
"c": 0.13712,
"h": 252.7
},
"luminance": 0.187
}Semantic roles & 50–950 ramp
primary
#337AC6
secondary
#CDAC87
accent
#9746E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83