#337FAA#337FAA

#337FAA is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.099 H 237.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#337FAA
RGBrgb(51, 127, 170)
HSLhsl(202, 54%, 43%)
HSVhsv(202, 70%, 67%)
CMYKcmyk(70%, 25.3%, 0%, 33.3%)
CIE-LABlab(50.43, -9.08, -29.64)
CIE-LCHlch(50.43, 31.00, 252.97°)
OKLaboklab(56.85% -0.0539 -0.0834)
OKLCHoklch(56.85% 0.099 237.1)
XYZxyz(16.2075, 18.7831, 40.7937)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337FAA #AA5E33
analogous
#33AA99 #337FAA #3343AA
triadic
#337FAA #AA337F #7FAA33
tetradic
#337FAA #9933AA #AA5E33 #43AA33
square
#337FAA #9933AA #AA5E33 #43AA33
split-complementary
#337FAA #AA3343 #AA9933
monochromatic
#17394C #255C7B #337FAA #509ECA #7FB8D9

Accessibility & contrast

On white

4.41
#337FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#337FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337FAA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337FAA#FFFFFF#000000##000000
##337FAA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAC
Deuteranopia (green-blind)
#5A73A9
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337faa;
/* rgb */ color: rgb(51, 127, 170);
/* oklch */ color: oklch(56.9% 0.099 237.1);
Tailwind
colors: {
  custom: {
    50: '#79a4c3',
    500: '#337faa',
    950: '#000000',
  },
}
SCSS
$custom: #337faa;
$custom-light: #79a4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#337faa",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 201.681,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56852,
    "c": 0.09935,
    "h": 237.1
  },
  "luminance": 0.18785
}

Semantic roles & 50–950 ramp

primary
#337FAA
secondary
#C29277
accent
#804BDD
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #337FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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