#337EA1#337EA1

#337EA1 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.091 H 231.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#337EA1
RGBrgb(51, 126, 161)
HSLhsl(199, 52%, 42%)
HSVhsv(199, 68%, 63%)
CMYKcmyk(68.3%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.73, -11.60, -25.50)
CIE-LCHlch(49.73, 28.01, 245.53°)
OKLaboklab(56.17% -0.0561 -0.0715)
OKLCHoklch(56.17% 0.091 231.9)
XYZxyz(15.2566, 18.1971, 36.4196)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EA1 #A15633
analogous
#33A18D #337EA1 #3347A1
triadic
#337EA1 #A1337E #7EA133
tetradic
#337EA1 #8D33A1 #A15633 #47A133
square
#337EA1 #8D33A1 #A15633 #47A133
split-complementary
#337EA1 #A13347 #A18D33
monochromatic
#163544 #245A73 #337EA1 #4B9FC6 #7AB8D5

Accessibility & contrast

On white

4.53
#337EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#337EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EA1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EA1#FFFFFF#000000##000000
##337EA11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7CA3
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337ea1;
/* rgb */ color: rgb(51, 126, 161);
/* oklch */ color: oklch(56.2% 0.091 231.9);
Tailwind
colors: {
  custom: {
    50: '#78a3bd',
    500: '#337ea1',
    950: '#000000',
  },
}
SCSS
$custom: #337ea1;
$custom-light: #78a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#337ea1",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 199.091,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56167,
    "c": 0.09089,
    "h": 231.9
  },
  "luminance": 0.18199
}

Semantic roles & 50–950 ramp

primary
#337EA1
secondary
#BD8A72
accent
#7A4CDB
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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