#337DAC#337DAC

#337DAC is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.5% C 0.103 H 240.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#337DAC
RGBrgb(51, 125, 172)
HSLhsl(203, 54%, 44%)
HSVhsv(203, 70%, 67%)
CMYKcmyk(70.3%, 27.3%, 0%, 32.5%)
CIE-LABlab(49.92, -7.22, -31.61)
CIE-LCHlch(49.92, 32.42, 257.13°)
OKLaboklab(56.47% -0.0512 -0.0891)
OKLCHoklch(56.47% 0.103 240.1)
XYZxyz(16.1424, 18.3478, 41.7125)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337DAC #AC6233
analogous
#33AC9E #337DAC #3340AC
triadic
#337DAC #AC337D #7DAC33
tetradic
#337DAC #9E33AC #AC6233 #40AC33
square
#337DAC #9E33AC #AC6233 #40AC33
split-complementary
#337DAC #AC3340 #AC9E33
monochromatic
#17384E #255B7D #337DAC #519CCB #80B7D9

Accessibility & contrast

On white

4.50
#337DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#337DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337DAC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337DAC#FFFFFF#000000##000000
##337DAC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337dac;
/* rgb */ color: rgb(51, 125, 172);
/* oklch */ color: oklch(56.5% 0.103 240.1);
Tailwind
colors: {
  custom: {
    50: '#79a2c5',
    500: '#337dac',
    950: '#000000',
  },
}
SCSS
$custom: #337dac;
$custom-light: #79a2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#337dac",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 172
  },
  "hsl": {
    "h": 203.306,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.10279,
    "h": 240.1
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#337DAC
secondary
#C29578
accent
#834ADE
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #337DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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