#337ABD#337ABD

#337ABD is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.7% C 0.126 H 249.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#337ABD
RGBrgb(51, 122, 189)
HSLhsl(209, 58%, 47%)
HSVhsv(209, 73%, 74%)
CMYKcmyk(73%, 35.4%, 0%, 25.9%)
CIE-LABlab(49.85, 0.64, -41.52)
CIE-LCHlch(49.85, 41.53, 270.88°)
OKLaboklab(56.69% -0.0431 -0.118)
OKLCHoklch(56.69% 0.126 249.9)
XYZxyz(17.5066, 18.2950, 50.7429)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337ABD #BD7633
analogous
#33BDBB #337ABD #3335BD
triadic
#337ABD #BD337A #7ABD33
tetradic
#337ABD #BB33BD #BD7633 #35BD33
square
#337ABD #BB33BD #BD7633 #35BD33
split-complementary
#337ABD #BD3335 #BDBB33
monochromatic
#193C5D #265B8D #337ABD #5B98D3 #8BB6E0

Accessibility & contrast

On white

4.51
#337ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#337ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337ABD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337ABD#FFFFFF#000000##000000
##337ABD1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC0
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #337abd;
/* rgb */ color: rgb(51, 122, 189);
/* oklch */ color: oklch(56.7% 0.126 249.9);
Tailwind
colors: {
  custom: {
    50: '#7ca0d1',
    500: '#337abd',
    950: '#000000',
  },
}
SCSS
$custom: #337abd;
$custom-light: #7ca0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#337abd",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 189
  },
  "hsl": {
    "h": 209.13,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.12566,
    "h": 249.9
  },
  "luminance": 0.18297
}

Semantic roles & 50–950 ramp

primary
#337ABD
secondary
#CAA582
accent
#9247E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #337ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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