#337EA5#337EA5

#337EA5 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.4% C 0.095 H 234.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#337EA5
RGBrgb(51, 126, 165)
HSLhsl(201, 53%, 42%)
HSVhsv(201, 69%, 65%)
CMYKcmyk(69.1%, 23.6%, 0%, 35.3%)
CIE-LABlab(49.91, -10.23, -27.56)
CIE-LCHlch(49.91, 29.40, 249.63°)
OKLaboklab(56.36% -0.0547 -0.0774)
OKLCHoklch(56.36% 0.095 234.8)
XYZxyz(15.6150, 18.3404, 38.3071)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EA5 #A55A33
analogous
#33A593 #337EA5 #3345A5
triadic
#337EA5 #A5337E #7EA533
tetradic
#337EA5 #9333A5 #A55A33 #45A533
square
#337EA5 #9333A5 #A55A33 #45A533
split-complementary
#337EA5 #A53345 #A59333
monochromatic
#163748 #255A76 #337EA5 #4D9EC8 #7CB8D6

Accessibility & contrast

On white

4.50
#337EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#337EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EA5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EA5#FFFFFF#000000##000000
##337EA51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA7
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337ea5;
/* rgb */ color: rgb(51, 126, 165);
/* oklch */ color: oklch(56.4% 0.095 234.8);
Tailwind
colors: {
  custom: {
    50: '#78a3c0',
    500: '#337ea5',
    950: '#000000',
  },
}
SCSS
$custom: #337ea5;
$custom-light: #78a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#337ea5",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 200.526,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56361,
    "c": 0.09477,
    "h": 234.8
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

primary
#337EA5
secondary
#BF8E75
accent
#7D4CDC
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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