#337AB1#337AB1
#337AB1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.111 H 245.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #337AB1 |
|---|---|
| RGB | rgb(51, 122, 177) |
| HSL | hsl(206, 55%, 45%) |
| HSV | hsv(206, 71%, 69%) |
| CMYK | cmyk(71.2%, 31.1%, 0%, 30.6%) |
| CIE-LAB | lab(49.25, -3.69, -35.55) |
| CIE-LCH | lch(49.25, 35.74, 264.08°) |
| OKLab | oklab(56.02% -0.0466 -0.1006) |
| OKLCH | oklch(56.02% 0.111 245.2) |
| XYZ | xyz(16.2576, 17.7954, 44.1645) |
| Luminance | 0.1780 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 2.28
Nice Blue
#107AB0
ΔE00 2.93
Windows Blue
#3778BF
ΔE00 3.04
Flat Blue
#3C73A8
ΔE00 3.20
Steel Blue
#4682B4
ΔE00 3.36
Muted Blue
#3B719F
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337AB1 #B16A33
analogous
#33B1A9 #337AB1 #333BB1
triadic
#337AB1 #B1337A #7AB133
tetradic
#337AB1 #A933B1 #B16A33 #3BB133
square
#337AB1 #A933B1 #B16A33 #3BB133
split-complementary
#337AB1 #B1333B #B1A933
monochromatic
#183952 #255981 #337AB1 #5498CE #83B5DB
Accessibility & contrast
On white
4.61
#337AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#337AB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #337AB1
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337AB1 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617CB3
Deuteranopia (green-blind)
#5070B0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #337ab1; /* rgb */ color: rgb(51, 122, 177); /* oklch */ color: oklch(56.0% 0.111 245.2);
Tailwind
colors: {
custom: {
50: '#7aa0c8',
500: '#337ab1',
950: '#000000',
},
}SCSS
$custom: #337ab1; $custom-light: #7aa0c8; $custom-dark: #000000;
JSON
{
"hex": "#337ab1",
"rgb": {
"r": 51,
"g": 122,
"b": 177
},
"hsl": {
"h": 206.19,
"s": 55.263,
"l": 44.706
},
"oklch": {
"l": 0.56021,
"c": 0.11087,
"h": 245.2
},
"luminance": 0.17797
}Semantic roles & 50–950 ramp
primary
#337AB1
secondary
#C59B7B
accent
#8A49DF
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82