#337BA7#337BA7

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

Color values

HEX#337BA7
RGBrgb(51, 123, 167)
HSLhsl(203, 53%, 43%)
HSVhsv(203, 69%, 65%)
CMYKcmyk(69.5%, 26.3%, 0%, 34.5%)
CIE-LABlab(49.08, -7.81, -30.01)
CIE-LCHlch(49.08, 31.01, 255.41°)
OKLaboklab(55.73% -0.0508 -0.0845)
OKLCHoklch(55.73% 0.099 239)
XYZxyz(15.4205, 17.6581, 39.1474)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BA7 #A75F33
analogous
#33A799 #337BA7 #3341A7
triadic
#337BA7 #A7337B #7BA733
tetradic
#337BA7 #9933A7 #A75F33 #41A733
square
#337BA7 #9933A7 #A75F33 #41A733
split-complementary
#337BA7 #A73341 #A79933
monochromatic
#163649 #255878 #337BA7 #4E9AC9 #7DB5D7

Accessibility & contrast

On white

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

On black

4.53
#337BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337BA7#FFFFFF#000000##FFFFFF
##337BA71.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA9
Deuteranopia (green-blind)
#5770A6
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #337ba7;
/* rgb */ color: rgb(51, 123, 167);
/* oklch */ color: oklch(55.7% 0.099 239.0);
Tailwind
colors: {
  custom: {
    50: '#79a1c1',
    500: '#337ba7',
    950: '#000000',
  },
}
SCSS
$custom: #337ba7;
$custom-light: #79a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#337ba7",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 202.759,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55733,
    "c": 0.09862,
    "h": 239
  },
  "luminance": 0.1766
}

Semantic roles & 50–950 ramp

primary
#337BA7
secondary
#C09276
accent
#824BDD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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