#337AC7#337AC7
#337AC7 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.3% C 0.138 H 253.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #337AC7 |
|---|---|
| RGB | rgb(51, 122, 199) |
| HSL | hsl(211, 59%, 49%) |
| HSV | hsv(211, 74%, 78%) |
| CMYK | cmyk(74.4%, 38.7%, 0%, 22%) |
| CIE-LAB | lab(50.39, 4.29, -46.41) |
| CIE-LCH | lch(50.39, 46.60, 275.28°) |
| OKLab | oklab(57.29% -0.0405 -0.1323) |
| OKLCH | oklch(57.29% 0.138 253) |
| XYZ | xyz(18.6297, 18.7443, 56.6579) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.09
Bluish
#2976BB
ΔE00 2.45
Steel Blue
#4682B4
ΔE00 3.98
Flat Blue
#3C73A8
ΔE00 4.15
Cool Blue
#4984B8
ΔE00 4.21
Medium Blue
#2C6FBB
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337AC7 #C78033
analogous
#33C4C7 #337AC7 #3633C7
triadic
#337AC7 #C7337A #7AC733
tetradic
#337AC7 #C733C4 #C78033 #33C736
square
#337AC7 #C733C4 #C78033 #33C736
split-complementary
#337AC7 #C73633 #C4C733
monochromatic
#1A3E66 #275C96 #337AC7 #6199D6 #91B9E3
Accessibility & contrast
On white
4.42
#337AC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#337AC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337AC7
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337AC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337AC7 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#3F72C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #337ac7; /* rgb */ color: rgb(51, 122, 199); /* oklch */ color: oklch(57.3% 0.138 253.0);
Tailwind
colors: {
custom: {
50: '#7ea0d8',
500: '#337ac7',
950: '#000000',
},
}SCSS
$custom: #337ac7; $custom-light: #7ea0d8; $custom-dark: #000000;
JSON
{
"hex": "#337ac7",
"rgb": {
"r": 51,
"g": 122,
"b": 199
},
"hsl": {
"h": 211.216,
"s": 59.2,
"l": 49.02
},
"oklch": {
"l": 0.57288,
"c": 0.13841,
"h": 253
},
"luminance": 0.18746
}Semantic roles & 50–950 ramp
primary
#337AC7
secondary
#CEAC88
accent
#9745E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83