#337AAA#337AAA

#337AAA is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.103 H 241.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#337AAA
RGBrgb(51, 122, 170)
HSLhsl(204, 54%, 43%)
HSVhsv(204, 70%, 67%)
CMYKcmyk(70%, 28.2%, 0%, 33.3%)
CIE-LABlab(48.91, -6.17, -32.01)
CIE-LCHlch(48.91, 32.60, 259.09°)
OKLaboklab(55.65% -0.0488 -0.0903)
OKLCHoklch(55.65% 0.103 241.6)
XYZxyz(15.5777, 17.5235, 40.5838)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AAA #AA6333
analogous
#33AA9E #337AAA #333EAA
triadic
#337AAA #AA337A #7AAA33
tetradic
#337AAA #9E33AA #AA6333 #3EAA33
square
#337AAA #9E33AA #AA6333 #3EAA33
split-complementary
#337AAA #AA333E #AA9E33
monochromatic
#17364C #25587B #337AAA #5099CA #7FB4D9

Accessibility & contrast

On white

4.66
#337AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#337AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337AAA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AAA#FFFFFF#000000##FFFFFF
##337AAA1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647BAC
Deuteranopia (green-blind)
#546FA9
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337aaa;
/* rgb */ color: rgb(51, 122, 170);
/* oklch */ color: oklch(55.6% 0.103 241.6);
Tailwind
colors: {
  custom: {
    50: '#79a0c3',
    500: '#337aaa',
    950: '#000000',
  },
}
SCSS
$custom: #337aaa;
$custom-light: #79a0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#337aaa",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 204.202,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.10267,
    "h": 241.6
  },
  "luminance": 0.17525
}

Semantic roles & 50–950 ramp

primary
#337AAA
secondary
#C29577
accent
#864BDD
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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