#337F9F#337F9F

#337F9F is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.089 H 229.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#337F9F
RGBrgb(51, 127, 159)
HSLhsl(198, 51%, 41%)
HSVhsv(198, 68%, 62%)
CMYKcmyk(67.9%, 20.1%, 0%, 37.6%)
CIE-LABlab(49.96, -12.85, -23.98)
CIE-LCHlch(49.96, 27.21, 241.82°)
OKLaboklab(56.32% -0.0579 -0.0671)
OKLCHoklch(56.32% 0.089 229.2)
XYZxyz(15.2101, 18.3841, 35.5411)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F9F #9F5333
analogous
#339F89 #337F9F #33499F
triadic
#337F9F #9F337F #7F9F33
tetradic
#337F9F #89339F #9F5333 #499F33
square
#337F9F #89339F #9F5333 #499F33
split-complementary
#337F9F #9F3349 #9F8933
monochromatic
#153542 #245A71 #337F9F #4AA1C5 #79B9D4

Accessibility & contrast

On white

4.49
#337F9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#337F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337F9F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F9F#FFFFFF#000000##000000
##337F9F1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA1
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337f9f;
/* rgb */ color: rgb(51, 127, 159);
/* oklch */ color: oklch(56.3% 0.089 229.2);
Tailwind
colors: {
  custom: {
    50: '#78a4bb',
    500: '#337f9f',
    950: '#000000',
  },
}
SCSS
$custom: #337f9f;
$custom-light: #78a4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#337f9f",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 159
  },
  "hsl": {
    "h": 197.778,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.08869,
    "h": 229.2
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#337F9F
secondary
#BC8871
accent
#774DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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