#337BAA#337BAA

#337BAA is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.102 H 240.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#337BAA
RGBrgb(51, 123, 170)
HSLhsl(204, 54%, 43%)
HSVhsv(204, 70%, 67%)
CMYKcmyk(70%, 27.6%, 0%, 33.3%)
CIE-LABlab(49.22, -6.76, -31.54)
CIE-LCHlch(49.22, 32.26, 257.91°)
OKLaboklab(55.89% -0.0498 -0.0889)
OKLCHoklch(55.89% 0.102 240.8)
XYZxyz(15.7011, 17.7703, 40.6249)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BAA #AA6233
analogous
#33AA9D #337BAA #3340AA
triadic
#337BAA #AA337B #7BAA33
tetradic
#337BAA #9D33AA #AA6233 #40AA33
square
#337BAA #9D33AA #AA6233 #40AA33
split-complementary
#337BAA #AA3340 #AA9D33
monochromatic
#17374C #25597B #337BAA #509ACA #7FB5D9

Accessibility & contrast

On white

4.61
#337BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#337BAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337BAA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BAA#FFFFFF#000000##FFFFFF
##337BAA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAC
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337baa;
/* rgb */ color: rgb(51, 123, 170);
/* oklch */ color: oklch(55.9% 0.102 240.8);
Tailwind
colors: {
  custom: {
    50: '#79a1c3',
    500: '#337baa',
    950: '#000000',
  },
}
SCSS
$custom: #337baa;
$custom-light: #79a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#337baa",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 170
  },
  "hsl": {
    "h": 203.697,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.10195,
    "h": 240.8
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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