#337FA2#337FA2

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

Color values

HEX#337FA2
RGBrgb(51, 127, 162)
HSLhsl(199, 52%, 42%)
HSVhsv(199, 69%, 64%)
CMYKcmyk(68.5%, 21.6%, 0%, 36.5%)
CIE-LABlab(50.08, -11.83, -25.54)
CIE-LCHlch(50.08, 28.14, 245.14°)
OKLaboklab(56.46% -0.0568 -0.0716)
OKLCHoklch(56.46% 0.091 231.6)
XYZxyz(15.4736, 18.4895, 36.9288)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FA2 #A25633
analogous
#33A28E #337FA2 #3348A2
triadic
#337FA2 #A2337F #7FA233
tetradic
#337FA2 #8E33A2 #A25633 #48A233
square
#337FA2 #8E33A2 #A25633 #48A233
split-complementary
#337FA2 #A23348 #A28E33
monochromatic
#163645 #245B73 #337FA2 #4CA0C7 #7AB9D5

Accessibility & contrast

On white

4.47
#337FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#337FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FA2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FA2#FFFFFF#000000##000000
##337FA21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337fa2;
/* rgb */ color: rgb(51, 127, 162);
/* oklch */ color: oklch(56.5% 0.091 231.6);
Tailwind
colors: {
  custom: {
    50: '#78a4bd',
    500: '#337fa2',
    950: '#000000',
  },
}
SCSS
$custom: #337fa2;
$custom-light: #78a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#337fa2",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 198.919,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56461,
    "c": 0.09141,
    "h": 231.6
  },
  "luminance": 0.18491
}

Semantic roles & 50–950 ramp

primary
#337FA2
secondary
#BE8B73
accent
#794CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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