#337FA8#337FA8

#337FA8 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.097 H 235.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#337FA8
RGBrgb(51, 127, 168)
HSLhsl(201, 53%, 43%)
HSVhsv(201, 70%, 66%)
CMYKcmyk(69.6%, 24.4%, 0%, 34.1%)
CIE-LABlab(50.34, -9.77, -28.62)
CIE-LCHlch(50.34, 30.24, 251.14°)
OKLaboklab(56.75% -0.0546 -0.0805)
OKLCHoklch(56.75% 0.097 235.8)
XYZxyz(16.0197, 18.7080, 39.8049)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FA8 #A85C33
analogous
#33A897 #337FA8 #3344A8
triadic
#337FA8 #A8337F #7FA833
tetradic
#337FA8 #9733A8 #A85C33 #44A833
square
#337FA8 #9733A8 #A85C33 #44A833
split-complementary
#337FA8 #A83344 #A89733
monochromatic
#16384A #255C79 #337FA8 #4F9EC9 #7EB8D8

Accessibility & contrast

On white

4.43
#337FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#337FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FA8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FA8#FFFFFF#000000##000000
##337FA81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAA
Deuteranopia (green-blind)
#5B73A7
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337fa8;
/* rgb */ color: rgb(51, 127, 168);
/* oklch */ color: oklch(56.8% 0.097 235.8);
Tailwind
colors: {
  custom: {
    50: '#79a4c2',
    500: '#337fa8',
    950: '#000000',
  },
}
SCSS
$custom: #337fa8;
$custom-light: #79a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#337fa8",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 201.026,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.09728,
    "h": 235.8
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#337FA8
secondary
#C19076
accent
#7E4BDD
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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