#337FA6#337FA6

#337FA6 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.7% C 0.095 H 234.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#337FA6
RGBrgb(51, 127, 166)
HSLhsl(200, 53%, 43%)
HSVhsv(200, 69%, 65%)
CMYKcmyk(69.3%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.26, -10.46, -27.60)
CIE-LCHlch(50.26, 29.51, 249.24°)
OKLaboklab(56.65% -0.0554 -0.0775)
OKLCHoklch(56.65% 0.095 234.5)
XYZxyz(15.8348, 18.6340, 38.8312)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FA6 #A65A33
analogous
#33A693 #337FA6 #3345A6
triadic
#337FA6 #A6337F #7FA633
tetradic
#337FA6 #9333A6 #A65A33 #45A633
square
#337FA6 #9333A6 #A65A33 #45A633
split-complementary
#337FA6 #A63345 #A69333
monochromatic
#163748 #255B77 #337FA6 #4E9FC9 #7CB8D7

Accessibility & contrast

On white

4.44
#337FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#337FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FA6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FA6#FFFFFF#000000##000000
##337FA61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#5C73A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337fa6;
/* rgb */ color: rgb(51, 127, 166);
/* oklch */ color: oklch(56.7% 0.095 234.5);
Tailwind
colors: {
  custom: {
    50: '#79a4c0',
    500: '#337fa6',
    950: '#000000',
  },
}
SCSS
$custom: #337fa6;
$custom-light: #79a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#337fa6",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 200.348,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.09526,
    "h": 234.5
  },
  "luminance": 0.18636
}

Semantic roles & 50–950 ramp

primary
#337FA6
secondary
#C08E75
accent
#7D4BDC
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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