#337BA8#337BA8

#337BA8 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.100 H 239.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#337BA8
RGBrgb(51, 123, 168)
HSLhsl(203, 53%, 43%)
HSVhsv(203, 70%, 66%)
CMYKcmyk(69.6%, 26.8%, 0%, 34.1%)
CIE-LABlab(49.12, -7.46, -30.52)
CIE-LCHlch(49.12, 31.42, 256.27°)
OKLaboklab(55.78% -0.0505 -0.086)
OKLCHoklch(55.78% 0.1 239.6)
XYZxyz(15.5133, 17.6952, 39.6361)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BA8 #A86033
analogous
#33A89A #337BA8 #3340A8
triadic
#337BA8 #A8337B #7BA833
tetradic
#337BA8 #9A33A8 #A86033 #40A833
square
#337BA8 #9A33A8 #A86033 #40A833
split-complementary
#337BA8 #A83340 #A89A33
monochromatic
#16364A #255979 #337BA8 #4F9AC9 #7EB5D8

Accessibility & contrast

On white

4.63
#337BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#337BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337BA8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BA8#FFFFFF#000000##FFFFFF
##337BA81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667BAA
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337ba8;
/* rgb */ color: rgb(51, 123, 168);
/* oklch */ color: oklch(55.8% 0.100 239.6);
Tailwind
colors: {
  custom: {
    50: '#79a1c2',
    500: '#337ba8',
    950: '#000000',
  },
}
SCSS
$custom: #337ba8;
$custom-light: #79a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#337ba8",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 168
  },
  "hsl": {
    "h": 203.077,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.09972,
    "h": 239.6
  },
  "luminance": 0.17697
}

Semantic roles & 50–950 ramp

primary
#337BA8
secondary
#C19376
accent
#834BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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