#337AB2#337AB2
#337AB2 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.112 H 245.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #337AB2 |
|---|---|
| RGB | rgb(51, 122, 178) |
| HSL | hsl(206, 55%, 45%) |
| HSV | hsv(206, 71%, 70%) |
| CMYK | cmyk(71.3%, 31.5%, 0%, 30.2%) |
| CIE-LAB | lab(49.30, -3.33, -36.05) |
| CIE-LCH | lch(49.30, 36.21, 264.73°) |
| OKLab | oklab(56.08% -0.0462 -0.1021) |
| OKLCH | oklch(56.08% 0.112 245.6) |
| XYZ | xyz(16.3576, 17.8354, 44.6913) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 2.13
Windows Blue
#3778BF
ΔE00 2.87
Nice Blue
#107AB0
ΔE00 3.09
Flat Blue
#3C73A8
ΔE00 3.17
Steel Blue
#4682B4
ΔE00 3.34
Muted Blue
#3B719F
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337AB2 #B26B33
analogous
#33B2AB #337AB2 #333AB2
triadic
#337AB2 #B2337A #7AB233
tetradic
#337AB2 #AB33B2 #B26B33 #3AB233
square
#337AB2 #AB33B2 #B26B33 #3AB233
split-complementary
#337AB2 #B2333A #B2AB33
monochromatic
#183953 #255982 #337AB2 #5498CE #84B5DC
Accessibility & contrast
On white
4.60
#337AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#337AB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #337AB2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337AB2 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #337ab2; /* rgb */ color: rgb(51, 122, 178); /* oklch */ color: oklch(56.1% 0.112 245.6);
Tailwind
colors: {
custom: {
50: '#7aa0c9',
500: '#337ab2',
950: '#000000',
},
}SCSS
$custom: #337ab2; $custom-light: #7aa0c9; $custom-dark: #000000;
JSON
{
"hex": "#337ab2",
"rgb": {
"r": 51,
"g": 122,
"b": 178
},
"hsl": {
"h": 206.457,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.56076,
"c": 0.11207,
"h": 245.6
},
"luminance": 0.17837
}Semantic roles & 50–950 ramp
primary
#337AB2
secondary
#C59C7C
accent
#8B49DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82