#337EA8#337EA8

#337EA8 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.098 H 236.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#337EA8
RGBrgb(51, 126, 168)
HSLhsl(202, 53%, 43%)
HSVhsv(202, 70%, 66%)
CMYKcmyk(69.6%, 25%, 0%, 34.1%)
CIE-LABlab(50.04, -9.20, -29.10)
CIE-LCHlch(50.04, 30.52, 252.46°)
OKLaboklab(56.51% -0.0536 -0.0819)
OKLCHoklch(56.51% 0.098 236.8)
XYZxyz(15.8912, 18.4509, 39.7621)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337EA8 #A85D33
analogous
#33A897 #337EA8 #3344A8
triadic
#337EA8 #A8337E #7EA833
tetradic
#337EA8 #9733A8 #A85D33 #44A833
square
#337EA8 #9733A8 #A85D33 #44A833
split-complementary
#337EA8 #A83344 #A89733
monochromatic
#16384A #255B79 #337EA8 #4F9DC9 #7EB7D8

Accessibility & contrast

On white

4.48
#337EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#337EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337EA8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337EA8#FFFFFF#000000##000000
##337EA81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337ea8;
/* rgb */ color: rgb(51, 126, 168);
/* oklch */ color: oklch(56.5% 0.098 236.8);
Tailwind
colors: {
  custom: {
    50: '#79a3c2',
    500: '#337ea8',
    950: '#000000',
  },
}
SCSS
$custom: #337ea8;
$custom-light: #79a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#337ea8",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 201.538,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.09785,
    "h": 236.8
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#337EA8
secondary
#C19176
accent
#7F4BDD
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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