#337BA6#337BA6

#337BA6 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.098 H 238.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#337BA6
RGBrgb(51, 123, 166)
HSLhsl(202, 53%, 43%)
HSVhsv(202, 69%, 65%)
CMYKcmyk(69.3%, 25.9%, 0%, 34.9%)
CIE-LABlab(49.03, -8.16, -29.50)
CIE-LCHlch(49.03, 30.61, 254.54°)
OKLaboklab(55.68% -0.0512 -0.083)
OKLCHoklch(55.68% 0.098 238.4)
XYZxyz(15.3285, 17.6212, 38.6624)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BA6 #A65E33
analogous
#33A698 #337BA6 #3341A6
triadic
#337BA6 #A6337B #7BA633
tetradic
#337BA6 #9833A6 #A65E33 #41A633
square
#337BA6 #9833A6 #A65E33 #41A633
split-complementary
#337BA6 #A63341 #A69833
monochromatic
#163648 #255877 #337BA6 #4E9BC9 #7CB5D7

Accessibility & contrast

On white

4.64
#337BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#337BA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #337BA6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BA6#FFFFFF#000000##FFFFFF
##337BA61.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA8
Deuteranopia (green-blind)
#5770A5
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337ba6;
/* rgb */ color: rgb(51, 123, 166);
/* oklch */ color: oklch(55.7% 0.098 238.4);
Tailwind
colors: {
  custom: {
    50: '#78a1c0',
    500: '#337ba6',
    950: '#000000',
  },
}
SCSS
$custom: #337ba6;
$custom-light: #78a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#337ba6",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 166
  },
  "hsl": {
    "h": 202.435,
    "s": 52.995,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55682,
    "c": 0.09754,
    "h": 238.4
  },
  "luminance": 0.17623
}

Semantic roles & 50–950 ramp

primary
#337BA6
secondary
#C09175
accent
#824BDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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