#337CAB#337CAB

#337CAB is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.2% C 0.102 H 240.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#337CAB
RGBrgb(51, 124, 171)
HSLhsl(204, 54%, 44%)
HSVhsv(204, 70%, 67%)
CMYKcmyk(70.2%, 27.5%, 0%, 32.9%)
CIE-LABlab(49.57, -6.99, -31.57)
CIE-LCHlch(49.57, 32.34, 257.51°)
OKLaboklab(56.18% -0.0505 -0.089)
OKLCHoklch(56.18% 0.102 240.4)
XYZxyz(15.9207, 18.0576, 41.1666)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CAB #AB6233
analogous
#33AB9E #337CAB #3340AB
triadic
#337CAB #AB337C #7CAB33
tetradic
#337CAB #9E33AB #AB6233 #40AB33
square
#337CAB #9E33AB #AB6233 #40AB33
split-complementary
#337CAB #AB3340 #AB9E33
monochromatic
#17384D #255A7C #337CAB #509BCB #7FB6D9

Accessibility & contrast

On white

4.55
#337CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#337CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CAB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CAB#FFFFFF#000000##000000
##337CAB1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337cab;
/* rgb */ color: rgb(51, 124, 171);
/* oklch */ color: oklch(56.2% 0.102 240.4);
Tailwind
colors: {
  custom: {
    50: '#79a1c4',
    500: '#337cab',
    950: '#000000',
  },
}
SCSS
$custom: #337cab;
$custom-light: #79a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#337cab",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 203.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5618,
    "c": 0.10237,
    "h": 240.4
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#337CAB
secondary
#C29578
accent
#844ADD
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #337CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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