#337F9C#337F9C

#337F9C is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.086 H 226.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#337F9C
RGBrgb(51, 127, 156)
HSLhsl(197, 51%, 41%)
HSVhsv(197, 67%, 61%)
CMYKcmyk(67.3%, 18.6%, 0%, 38.8%)
CIE-LABlab(49.84, -13.85, -22.42)
CIE-LCHlch(49.84, 26.36, 238.29°)
OKLaboklab(56.18% -0.0591 -0.0627)
OKLCHoklch(56.18% 0.086 226.7)
XYZxyz(14.9530, 18.2812, 34.1866)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F9C #9C5033
analogous
#339C84 #337F9C #334B9C
triadic
#337F9C #9C337F #7F9C33
tetradic
#337F9C #84339C #9C5033 #4B9C33
square
#337F9C #84339C #9C5033 #4B9C33
split-complementary
#337F9C #9C334B #9C8433
monochromatic
#153440 #24596E #337F9C #49A2C3 #77B9D3

Accessibility & contrast

On white

4.51
#337F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#337F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337F9C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F9C#FFFFFF#000000##000000
##337F9C1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7D9D
Deuteranopia (green-blind)
#61729C
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337f9c;
/* rgb */ color: rgb(51, 127, 156);
/* oklch */ color: oklch(56.2% 0.086 226.7);
Tailwind
colors: {
  custom: {
    50: '#77a4b9',
    500: '#337f9c',
    950: '#000000',
  },
}
SCSS
$custom: #337f9c;
$custom-light: #77a4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#337f9c",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 156
  },
  "hsl": {
    "h": 196.571,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.08615,
    "h": 226.7
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#337F9C
secondary
#BB8570
accent
#744EDA
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #337F9C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#337F9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva