#337FA1#337FA1

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

Color values

HEX#337FA1
RGBrgb(51, 127, 161)
HSLhsl(199, 52%, 42%)
HSVhsv(199, 68%, 63%)
CMYKcmyk(68.3%, 21.1%, 0%, 36.9%)
CIE-LABlab(50.04, -12.17, -25.02)
CIE-LCHlch(50.04, 27.82, 244.06°)
OKLaboklab(56.41% -0.0572 -0.0701)
OKLCHoklch(56.41% 0.09 230.8)
XYZxyz(15.3851, 18.4541, 36.4625)
Luminance0.1846 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FA1 #A15533
analogous
#33A18C #337FA1 #3348A1
triadic
#337FA1 #A1337F #7FA133
tetradic
#337FA1 #8C33A1 #A15533 #48A133
square
#337FA1 #8C33A1 #A15533 #48A133
split-complementary
#337FA1 #A13348 #A18C33
monochromatic
#163644 #245A73 #337FA1 #4BA0C6 #7AB9D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337FA1#FFFFFF#000000##000000
##337FA11.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)
#6E7DA3
Deuteranopia (green-blind)
#5F72A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337fa1;
/* rgb */ color: rgb(51, 127, 161);
/* oklch */ color: oklch(56.4% 0.090 230.8);
Tailwind
colors: {
  custom: {
    50: '#78a4bd',
    500: '#337fa1',
    950: '#000000',
  },
}
SCSS
$custom: #337fa1;
$custom-light: #78a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#337fa1",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 198.545,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56413,
    "c": 0.09048,
    "h": 230.8
  },
  "luminance": 0.18456
}

Semantic roles & 50–950 ramp

primary
#337FA1
secondary
#BD8A72
accent
#794CDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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