#337AB6#337AB6
#337AB6 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.3% C 0.117 H 247.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #337AB6 |
|---|---|
| RGB | rgb(51, 122, 182) |
| HSL | hsl(207, 56%, 46%) |
| HSV | hsv(207, 72%, 71%) |
| CMYK | cmyk(72%, 33%, 0%, 28.6%) |
| CIE-LAB | lab(49.49, -1.89, -38.05) |
| CIE-LCH | lch(49.49, 38.10, 267.15°) |
| OKLab | oklab(56.3% -0.0451 -0.1079) |
| OKLCH | oklch(56.3% 0.117 247.3) |
| XYZ | xyz(16.7651, 17.9984, 46.8374) |
| Luminance | 0.1800 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.70
Windows Blue
#3778BF
ΔE00 2.21
Flat Blue
#3C73A8
ΔE00 3.14
Steel Blue
#4682B4
ΔE00 3.31
Nice Blue
#107AB0
ΔE00 3.75
Cool Blue
#4984B8
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337AB6 #B66F33
analogous
#33B6B0 #337AB6 #3338B6
triadic
#337AB6 #B6337A #7AB633
tetradic
#337AB6 #B033B6 #B66F33 #38B633
square
#337AB6 #B033B6 #B66F33 #38B633
split-complementary
#337AB6 #B63338 #B6B033
monochromatic
#183A56 #265A86 #337AB6 #5698D0 #86B5DD
Accessibility & contrast
On white
4.57
#337AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#337AB6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337AB6
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337AB6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337AB6 | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7CB9
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #337ab6; /* rgb */ color: rgb(51, 122, 182); /* oklch */ color: oklch(56.3% 0.117 247.3);
Tailwind
colors: {
custom: {
50: '#7ba0cc',
500: '#337ab6',
950: '#000000',
},
}SCSS
$custom: #337ab6; $custom-light: #7ba0cc; $custom-dark: #000000;
JSON
{
"hex": "#337ab6",
"rgb": {
"r": 51,
"g": 122,
"b": 182
},
"hsl": {
"h": 207.481,
"s": 56.223,
"l": 45.686
},
"oklch": {
"l": 0.56297,
"c": 0.11694,
"h": 247.3
},
"luminance": 0.18
}Semantic roles & 50–950 ramp
primary
#337AB6
secondary
#C79F7E
accent
#8E48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82