#337AB5#337AB5
#337AB5 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.116 H 246.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #337AB5 |
|---|---|
| RGB | rgb(51, 122, 181) |
| HSL | hsl(207, 56%, 45%) |
| HSV | hsv(207, 72%, 71%) |
| CMYK | cmyk(71.8%, 32.6%, 0%, 29%) |
| CIE-LAB | lab(49.44, -2.25, -37.56) |
| CIE-LCH | lch(49.44, 37.62, 266.57°) |
| OKLab | oklab(56.24% -0.0453 -0.1065) |
| OKLCH | oklch(56.24% 0.116 246.9) |
| XYZ | xyz(16.6621, 17.9572, 46.2951) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.78
Windows Blue
#3778BF
ΔE00 2.37
Flat Blue
#3C73A8
ΔE00 3.13
Steel Blue
#4682B4
ΔE00 3.31
Nice Blue
#107AB0
ΔE00 3.59
Cool Blue
#4984B8
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337AB5 #B56E33
analogous
#33B5AF #337AB5 #3339B5
triadic
#337AB5 #B5337A #7AB533
tetradic
#337AB5 #AF33B5 #B56E33 #39B533
square
#337AB5 #AF33B5 #B56E33 #39B533
split-complementary
#337AB5 #B53339 #B5AF33
monochromatic
#183A56 #265A85 #337AB5 #5698CF #86B5DD
Accessibility & contrast
On white
4.57
#337AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#337AB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337AB5
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337AB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337AB5 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#4D70B4
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #337ab5; /* rgb */ color: rgb(51, 122, 181); /* oklch */ color: oklch(56.2% 0.116 246.9);
Tailwind
colors: {
custom: {
50: '#7ba0cb',
500: '#337ab5',
950: '#000000',
},
}SCSS
$custom: #337ab5; $custom-light: #7ba0cb; $custom-dark: #000000;
JSON
{
"hex": "#337ab5",
"rgb": {
"r": 51,
"g": 122,
"b": 181
},
"hsl": {
"h": 207.231,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.56241,
"c": 0.11572,
"h": 246.9
},
"luminance": 0.17959
}Semantic roles & 50–950 ramp
primary
#337AB5
secondary
#C69F7D
accent
#8D48DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82