#337AB4#337AB4
#337AB4 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.114 H 246.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #337AB4 |
|---|---|
| RGB | rgb(51, 122, 180) |
| HSL | hsl(207, 56%, 45%) |
| HSV | hsv(207, 72%, 71%) |
| CMYK | cmyk(71.7%, 32.2%, 0%, 29.4%) |
| CIE-LAB | lab(49.39, -2.61, -37.06) |
| CIE-LCH | lch(49.39, 37.15, 265.97°) |
| OKLab | oklab(56.19% -0.0457 -0.105) |
| OKLCH | oklch(56.19% 0.114 246.5) |
| XYZ | xyz(16.5599, 17.9163, 45.7566) |
| Luminance | 0.1792 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.88
Windows Blue
#3778BF
ΔE00 2.53
Flat Blue
#3C73A8
ΔE00 3.13
Steel Blue
#4682B4
ΔE00 3.31
Nice Blue
#107AB0
ΔE00 3.42
Muted Blue
#3B719F
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337AB4 #B46D33
analogous
#33B4AD #337AB4 #3339B4
triadic
#337AB4 #B4337A #7AB433
tetradic
#337AB4 #AD33B4 #B46D33 #39B433
square
#337AB4 #AD33B4 #B46D33 #39B433
split-complementary
#337AB4 #B43339 #B4AD33
monochromatic
#183955 #255A84 #337AB4 #5598CF #85B5DC
Accessibility & contrast
On white
4.58
#337AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#337AB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337AB4
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337AB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337AB4 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#607CB6
Deuteranopia (green-blind)
#4E70B3
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #337ab4; /* rgb */ color: rgb(51, 122, 180); /* oklch */ color: oklch(56.2% 0.114 246.5);
Tailwind
colors: {
custom: {
50: '#7ba0ca',
500: '#337ab4',
950: '#000000',
},
}SCSS
$custom: #337ab4; $custom-light: #7ba0ca; $custom-dark: #000000;
JSON
{
"hex": "#337ab4",
"rgb": {
"r": 51,
"g": 122,
"b": 180
},
"hsl": {
"h": 206.977,
"s": 55.844,
"l": 45.294
},
"oklch": {
"l": 0.56186,
"c": 0.11449,
"h": 246.5
},
"luminance": 0.17918
}Semantic roles & 50–950 ramp
primary
#337AB4
secondary
#C69E7D
accent
#8C49DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82