#337AC2#337AC2
#337AC2 is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.0% C 0.132 H 251.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #337AC2 |
|---|---|
| RGB | rgb(51, 122, 194) |
| HSL | hsl(210, 58%, 48%) |
| HSV | hsv(210, 74%, 76%) |
| CMYK | cmyk(73.7%, 37.1%, 0%, 23.9%) |
| CIE-LAB | lab(50.12, 2.46, -43.97) |
| CIE-LCH | lch(50.12, 44.04, 273.20°) |
| OKLab | oklab(56.99% -0.0418 -0.1252) |
| OKLCH | oklch(56.99% 0.132 251.5) |
| XYZ | xyz(18.0587, 18.5159, 53.6507) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Windows Blue
#3778BF
ΔE00 0.97
Bluish
#2976BB
ΔE00 1.95
Steel Blue
#4682B4
ΔE00 3.71
Flat Blue
#3C73A8
ΔE00 3.75
Cool Blue
#4984B8
ΔE00 4.07
Medium Blue
#2C6FBB
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337AC2 #C27B33
analogous
#33C1C2 #337AC2 #3433C2
triadic
#337AC2 #C2337A #7AC233
tetradic
#337AC2 #C233C1 #C27B33 #33C234
square
#337AC2 #C233C1 #C27B33 #33C234
split-complementary
#337AC2 #C23433 #C1C233
monochromatic
#1A3D61 #265C92 #337AC2 #5E99D5 #8EB7E1
Accessibility & contrast
On white
4.46
#337AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#337AC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337AC2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337AC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337AC2 | 1.00 | 4.46 | 4.70 | 4.70 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#597EC5
Deuteranopia (green-blind)
#4371C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #337ac2; /* rgb */ color: rgb(51, 122, 194); /* oklch */ color: oklch(57.0% 0.132 251.5);
Tailwind
colors: {
custom: {
50: '#7da0d5',
500: '#337ac2',
950: '#000000',
},
}SCSS
$custom: #337ac2; $custom-light: #7da0d5; $custom-dark: #000000;
JSON
{
"hex": "#337ac2",
"rgb": {
"r": 51,
"g": 122,
"b": 194
},
"hsl": {
"h": 210.21,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.56988,
"c": 0.13201,
"h": 251.5
},
"luminance": 0.18518
}Semantic roles & 50–950 ramp
primary
#337AC2
secondary
#CCA985
accent
#9446E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83