#337FB4#337FB4
#337FB4 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.110 H 242.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #337FB4 |
|---|---|
| RGB | rgb(51, 127, 180) |
| HSL | hsl(205, 56%, 45%) |
| HSV | hsv(205, 72%, 71%) |
| CMYK | cmyk(71.7%, 29.4%, 0%, 29.4%) |
| CIE-LAB | lab(50.89, -5.57, -34.70) |
| CIE-LCH | lch(50.89, 35.15, 260.88°) |
| OKLab | oklab(57.37% -0.0506 -0.0981) |
| OKLCH | oklch(57.37% 0.11 242.7) |
| XYZ | xyz(17.1897, 19.1759, 45.9666) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.29
Nice Blue
#107AB0
ΔE00 2.94
Cool Blue
#4984B8
ΔE00 3.13
Cerulean (survey)
#0485D1
ΔE00 3.75
Water Blue
#0E87CC
ΔE00 3.78
Bluish
#2976BB
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337FB4 #B46833
analogous
#33B4A8 #337FB4 #333FB4
triadic
#337FB4 #B4337F #7FB433
tetradic
#337FB4 #A833B4 #B46833 #3FB433
square
#337FB4 #A833B4 #B46833 #3FB433
split-complementary
#337FB4 #B4333F #B4A833
monochromatic
#183C55 #255D84 #337FB4 #559DCF #85B8DC
Accessibility & contrast
On white
4.34
#337FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#337FB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337FB4
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337FB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337FB4 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6780B6
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #337fb4; /* rgb */ color: rgb(51, 127, 180); /* oklch */ color: oklch(57.4% 0.110 242.7);
Tailwind
colors: {
custom: {
50: '#7ba3ca',
500: '#337fb4',
950: '#000000',
},
}SCSS
$custom: #337fb4; $custom-light: #7ba3ca; $custom-dark: #000000;
JSON
{
"hex": "#337fb4",
"rgb": {
"r": 51,
"g": 127,
"b": 180
},
"hsl": {
"h": 204.651,
"s": 55.844,
"l": 45.294
},
"oklch": {
"l": 0.57368,
"c": 0.11038,
"h": 242.7
},
"luminance": 0.19178
}Semantic roles & 50–950 ramp
primary
#337FB4
secondary
#C69B7D
accent
#8649DF
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82