#337CA7#337CA7

#337CA7 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.0% C 0.098 H 238.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#337CA7
RGBrgb(51, 124, 167)
HSLhsl(202, 53%, 43%)
HSVhsv(202, 69%, 65%)
CMYKcmyk(69.5%, 25.7%, 0%, 34.5%)
CIE-LABlab(49.38, -8.39, -29.53)
CIE-LCHlch(49.38, 30.70, 254.14°)
OKLaboklab(55.97% -0.0519 -0.0831)
OKLCHoklch(55.97% 0.098 238)
XYZxyz(15.5452, 17.9074, 39.1889)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CA7 #A75E33
analogous
#33A798 #337CA7 #3342A7
triadic
#337CA7 #A7337C #7CA733
tetradic
#337CA7 #9833A7 #A75E33 #42A733
square
#337CA7 #9833A7 #A75E33 #42A733
split-complementary
#337CA7 #A73342 #A79833
monochromatic
#163649 #255978 #337CA7 #4E9BC9 #7DB6D7

Accessibility & contrast

On white

4.58
#337CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#337CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CA7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CA7#FFFFFF#000000##000000
##337CA71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#687CA9
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337ca7;
/* rgb */ color: rgb(51, 124, 167);
/* oklch */ color: oklch(56.0% 0.098 238.0);
Tailwind
colors: {
  custom: {
    50: '#79a1c1',
    500: '#337ca7',
    950: '#000000',
  },
}
SCSS
$custom: #337ca7;
$custom-light: #79a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#337ca7",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 202.241,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.09799,
    "h": 238
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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