#337FA3#337FA3

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

Color values

HEX#337FA3
RGBrgb(51, 127, 163)
HSLhsl(199, 52%, 42%)
HSVhsv(199, 69%, 64%)
CMYKcmyk(68.7%, 22.1%, 0%, 36.1%)
CIE-LABlab(50.13, -11.49, -26.05)
CIE-LCHlch(50.13, 28.47, 246.20°)
OKLaboklab(56.51% -0.0564 -0.0731)
OKLCHoklch(56.51% 0.092 232.3)
XYZxyz(15.5629, 18.5252, 37.3988)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FA3 #A35733
analogous
#33A38F #337FA3 #3347A3
triadic
#337FA3 #A3337F #7FA333
tetradic
#337FA3 #8F33A3 #A35733 #47A333
square
#337FA3 #8F33A3 #A35733 #47A333
split-complementary
#337FA3 #A33347 #A38F33
monochromatic
#163646 #245B74 #337FA3 #4CA0C7 #7BB8D6

Accessibility & contrast

On white

4.46
#337FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#337FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FA3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FA3#FFFFFF#000000##000000
##337FA31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7EA5
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337fa3;
/* rgb */ color: rgb(51, 127, 163);
/* oklch */ color: oklch(56.5% 0.092 232.3);
Tailwind
colors: {
  custom: {
    50: '#78a4be',
    500: '#337fa3',
    950: '#000000',
  },
}
SCSS
$custom: #337fa3;
$custom-light: #78a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#337fa3",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 199.286,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56509,
    "c": 0.09234,
    "h": 232.3
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#337FA3
secondary
#BE8C73
accent
#7A4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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