#337FB8#337FB8
#337FB8 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.6% C 0.115 H 244.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #337FB8 |
|---|---|
| RGB | rgb(51, 127, 184) |
| HSL | hsl(206, 57%, 46%) |
| HSV | hsv(206, 72%, 72%) |
| CMYK | cmyk(72.3%, 31%, 0%, 27.8%) |
| CIE-LAB | lab(51.08, -4.15, -36.70) |
| CIE-LCH | lch(51.08, 36.94, 263.55°) |
| OKLab | oklab(57.58% -0.0494 -0.1039) |
| OKLCH | oklch(57.58% 0.115 244.6) |
| XYZ | xyz(17.6030, 19.3413, 48.1436) |
| Luminance | 0.1934 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.06
Cool Blue
#4984B8
ΔE00 2.79
Cerulean (survey)
#0485D1
ΔE00 3.33
Nice Blue
#107AB0
ΔE00 3.48
Water Blue
#0E87CC
ΔE00 3.62
Bluish
#2976BB
ΔE00 3.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337FB8 #B86C33
analogous
#33B8AE #337FB8 #333CB8
triadic
#337FB8 #B8337F #7FB833
tetradic
#337FB8 #AE33B8 #B86C33 #3CB833
square
#337FB8 #AE33B8 #B86C33 #3CB833
split-complementary
#337FB8 #B8333C #B8AE33
monochromatic
#183D58 #265E88 #337FB8 #589DD1 #88B9DE
Accessibility & contrast
On white
4.31
#337FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#337FB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #337FB8
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337FB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##337FB8 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6581BA
Deuteranopia (green-blind)
#5374B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #337fb8; /* rgb */ color: rgb(51, 127, 184); /* oklch */ color: oklch(57.6% 0.115 244.6);
Tailwind
colors: {
custom: {
50: '#7ba3cd',
500: '#337fb8',
950: '#000000',
},
}SCSS
$custom: #337fb8; $custom-light: #7ba3cd; $custom-dark: #000000;
JSON
{
"hex": "#337fb8",
"rgb": {
"r": 51,
"g": 127,
"b": 184
},
"hsl": {
"h": 205.714,
"s": 56.596,
"l": 46.078
},
"oklch": {
"l": 0.57583,
"c": 0.11504,
"h": 244.6
},
"luminance": 0.19343
}Semantic roles & 50–950 ramp
primary
#337FB8
secondary
#C89E7F
accent
#8948E0
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82