#337DA7#337DA7

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

Color values

HEX#337DA7
RGBrgb(51, 125, 167)
HSLhsl(202, 53%, 43%)
HSVhsv(202, 69%, 65%)
CMYKcmyk(69.5%, 25.1%, 0%, 34.5%)
CIE-LABlab(49.69, -8.97, -29.06)
CIE-LCHlch(49.69, 30.41, 252.85°)
OKLaboklab(56.22% -0.0529 -0.0818)
OKLCHoklch(56.22% 0.097 237.1)
XYZxyz(15.6712, 18.1594, 39.2309)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DA7 #A75D33
analogous
#33A797 #337DA7 #3343A7
triadic
#337DA7 #A7337D #7DA733
tetradic
#337DA7 #9733A7 #A75D33 #43A733
square
#337DA7 #9733A7 #A75D33 #43A733
split-complementary
#337DA7 #A73343 #A79733
monochromatic
#163749 #255A78 #337DA7 #4E9DC9 #7DB7D7

Accessibility & contrast

On white

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

On black

4.63
#337DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DA7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DA7#FFFFFF#000000##000000
##337DA71.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DA9
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337da7;
/* rgb */ color: rgb(51, 125, 167);
/* oklch */ color: oklch(56.2% 0.097 237.1);
Tailwind
colors: {
  custom: {
    50: '#79a2c1',
    500: '#337da7',
    950: '#000000',
  },
}
SCSS
$custom: #337da7;
$custom-light: #79a2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#337da7",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 167
  },
  "hsl": {
    "h": 201.724,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.09739,
    "h": 237.1
  },
  "luminance": 0.18161
}

Semantic roles & 50–950 ramp

primary
#337DA7
secondary
#C09176
accent
#804BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #337DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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