#337AB9#337AB9

#337AB9 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.5% C 0.121 H 248.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#337AB9
RGBrgb(51, 122, 185)
HSLhsl(208, 57%, 46%)
HSVhsv(208, 72%, 73%)
CMYKcmyk(72.4%, 34.1%, 0%, 27.5%)
CIE-LABlab(49.65, -0.81, -39.55)
CIE-LCHlch(49.65, 39.55, 268.82°)
OKLaboklab(56.47% -0.0442 -0.1123)
OKLCHoklch(56.47% 0.121 248.5)
XYZxyz(17.0784, 18.1238, 48.4877)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337AB9 #B97233
analogous
#33B9B5 #337AB9 #3337B9
triadic
#337AB9 #B9337A #7AB933
tetradic
#337AB9 #B533B9 #B97233 #37B933
square
#337AB9 #B533B9 #B97233 #37B933
split-complementary
#337AB9 #B93337 #B9B533
monochromatic
#193B59 #265A89 #337AB9 #5898D1 #88B6DE

Accessibility & contrast

On white

4.54
#337AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#337AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337AB9
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337AB9#FFFFFF#000000##000000
##337AB91.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7DBC
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #337ab9;
/* rgb */ color: rgb(51, 122, 185);
/* oklch */ color: oklch(56.5% 0.121 248.5);
Tailwind
colors: {
  custom: {
    50: '#7ca0ce',
    500: '#337ab9',
    950: '#000000',
  },
}
SCSS
$custom: #337ab9;
$custom-light: #7ca0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#337ab9",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 185
  },
  "hsl": {
    "h": 208.209,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56466,
    "c": 0.12065,
    "h": 248.5
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#337AB9
secondary
#C8A280
accent
#8F48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #337AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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