#337FA5#337FA5

#337FA5 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.6% C 0.094 H 233.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#337FA5
RGBrgb(51, 127, 165)
HSLhsl(200, 53%, 42%)
HSVhsv(200, 69%, 65%)
CMYKcmyk(69.1%, 23%, 0%, 35.3%)
CIE-LABlab(50.21, -10.81, -27.08)
CIE-LCHlch(50.21, 29.16, 248.25°)
OKLaboklab(56.61% -0.0557 -0.076)
OKLCHoklch(56.61% 0.094 233.8)
XYZxyz(15.7435, 18.5974, 38.3500)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FA5 #A55933
analogous
#33A592 #337FA5 #3346A5
triadic
#337FA5 #A5337F #7FA533
tetradic
#337FA5 #9233A5 #A55933 #46A533
square
#337FA5 #9233A5 #A55933 #46A533
split-complementary
#337FA5 #A53346 #A59233
monochromatic
#163748 #255B76 #337FA5 #4D9FC8 #7CB8D6

Accessibility & contrast

On white

4.45
#337FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#337FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FA5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FA5#FFFFFF#000000##000000
##337FA51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA7
Deuteranopia (green-blind)
#5D72A4
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337fa5;
/* rgb */ color: rgb(51, 127, 165);
/* oklch */ color: oklch(56.6% 0.094 233.8);
Tailwind
colors: {
  custom: {
    50: '#78a4c0',
    500: '#337fa5',
    950: '#000000',
  },
}
SCSS
$custom: #337fa5;
$custom-light: #78a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#337fa5",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 200,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56605,
    "c": 0.09427,
    "h": 233.8
  },
  "luminance": 0.18599
}

Semantic roles & 50–950 ramp

primary
#337FA5
secondary
#BF8D75
accent
#7C4CDC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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