#337CBA#337CBA

#337CBA is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.0% C 0.120 H 247.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#337CBA
RGBrgb(51, 124, 186)
HSLhsl(208, 57%, 46%)
HSVhsv(208, 73%, 73%)
CMYKcmyk(72.6%, 33.3%, 0%, 27.1%)
CIE-LABlab(50.29, -1.65, -39.11)
CIE-LCHlch(50.29, 39.14, 267.58°)
OKLaboklab(56.99% -0.0458 -0.1109)
OKLCHoklch(56.99% 0.12 247.5)
XYZxyz(17.4325, 18.6623, 49.1283)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337CBA #BA7133
analogous
#33BAB5 #337CBA #3338BA
triadic
#337CBA #BA337C #7CBA33
tetradic
#337CBA #B533BA #BA7133 #38BA33
square
#337CBA #B533BA #BA7133 #38BA33
split-complementary
#337CBA #BA3338 #BAB533
monochromatic
#193C5A #265C8A #337CBA #599AD1 #89B7DF

Accessibility & contrast

On white

4.44
#337CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#337CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #337CBA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337CBA#FFFFFF#000000##000000
##337CBA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#607FBD
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #337cba;
/* rgb */ color: rgb(51, 124, 186);
/* oklch */ color: oklch(57.0% 0.120 247.5);
Tailwind
colors: {
  custom: {
    50: '#7ca1cf',
    500: '#337cba',
    950: '#000000',
  },
}
SCSS
$custom: #337cba;
$custom-light: #7ca1cf;
$custom-dark: #000000;
JSON
{
  "hex": "#337cba",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 186
  },
  "hsl": {
    "h": 207.556,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.12005,
    "h": 247.5
  },
  "luminance": 0.18664
}

Semantic roles & 50–950 ramp

primary
#337CBA
secondary
#C9A180
accent
#8E48E0
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #337CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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