#337A8A#337A8A
#337A8A is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.1% C 0.074 H 215.0°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #337A8A |
|---|---|
| RGB | rgb(51, 122, 138) |
| HSL | hsl(191, 46%, 37%) |
| HSV | hsv(191, 63%, 54%) |
| CMYK | cmyk(63%, 11.6%, 0%, 45.9%) |
| CIE-LAB | lab(47.57, -16.98, -15.33) |
| CIE-LCH | lch(47.57, 22.87, 222.08°) |
| OKLab | oklab(54.13% -0.0609 -0.0426) |
| OKLCH | oklch(54.13% 0.074 215) |
| XYZ | xyz(12.9104, 16.4565, 26.5359) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Ocean
#017B92
ΔE00 2.90
Teal Blue
#01889F
ΔE00 5.69
Dirty Blue
#3F829D
ΔE00 5.86
Deep Aqua
#08787F
ΔE00 5.93
Sea Blue
#047495
ΔE00 6.25
Deep Turquoise
#017374
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337A8A #8A4333
analogous
#338A6E #337A8A #334F8A
triadic
#337A8A #8A337A #7A8A33
tetradic
#337A8A #6E338A #8A4333 #4F8A33
square
#337A8A #6E338A #8A4333 #4F8A33
split-complementary
#337A8A #8A334F #8A6E33
monochromatic
#122B31 #22525D #337A8A #44A2B7 #6EB9C9
Accessibility & contrast
On white
4.89
#337A8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#337A8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337A8A
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337A8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337A8A | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F768B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #337a8a; /* rgb */ color: rgb(51, 122, 138); /* oklch */ color: oklch(54.1% 0.074 215.0);
Tailwind
colors: {
custom: {
50: '#74a0ac',
500: '#337a8a',
950: '#000000',
},
}SCSS
$custom: #337a8a; $custom-light: #74a0ac; $custom-dark: #000000;
JSON
{
"hex": "#337a8a",
"rgb": {
"r": 51,
"g": 122,
"b": 138
},
"hsl": {
"h": 191.034,
"s": 46.032,
"l": 37.059
},
"oklch": {
"l": 0.54131,
"c": 0.07427,
"h": 215
},
"luminance": 0.16458
}Semantic roles & 50–950 ramp
primary
#337A8A
secondary
#B17567
accent
#6A52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F