#337BC5#337BC5

#337BC5 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.135 H 251.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#337BC5
RGBrgb(51, 123, 197)
HSLhsl(210, 59%, 49%)
HSVhsv(210, 74%, 77%)
CMYKcmyk(74.1%, 37.6%, 0%, 22.7%)
CIE-LABlab(50.57, 2.95, -44.97)
CIE-LCHlch(50.57, 45.07, 273.75°)
OKLaboklab(57.4% -0.0419 -0.1281)
OKLCHoklch(57.4% 0.135 251.9)
XYZxyz(18.5225, 18.8988, 55.4841)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BC5 #C57D33
analogous
#33C4C5 #337BC5 #3433C5
triadic
#337BC5 #C5337B #7BC533
tetradic
#337BC5 #C533C4 #C57D33 #33C534
square
#337BC5 #C533C4 #C57D33 #33C534
split-complementary
#337BC5 #C53433 #C4C533
monochromatic
#1A3E64 #265D94 #337BC5 #5F9AD6 #90B9E2

Accessibility & contrast

On white

4.39
#337BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#337BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337BC5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BC5#FFFFFF#000000##000000
##337BC51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C8
Deuteranopia (green-blind)
#4372C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337bc5;
/* rgb */ color: rgb(51, 123, 197);
/* oklch */ color: oklch(57.4% 0.135 251.9);
Tailwind
colors: {
  custom: {
    50: '#7ea0d7',
    500: '#337bc5',
    950: '#000000',
  },
}
SCSS
$custom: #337bc5;
$custom-light: #7ea0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#337bc5",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 210.411,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57395,
    "c": 0.13482,
    "h": 251.9
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#337BC5
secondary
#CDAA87
accent
#9546E2
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #337BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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