#337BA1#337BA1

#337BA1 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.4% C 0.092 H 235.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#337BA1
RGBrgb(51, 123, 161)
HSLhsl(201, 52%, 42%)
HSVhsv(201, 68%, 63%)
CMYKcmyk(68.3%, 23.6%, 0%, 36.9%)
CIE-LABlab(48.81, -9.89, -26.93)
CIE-LCHlch(48.81, 28.69, 249.84°)
OKLaboklab(55.43% -0.0529 -0.0756)
OKLCHoklch(55.43% 0.092 235)
XYZxyz(14.8787, 17.4413, 36.2937)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BA1 #A15933
analogous
#33A190 #337BA1 #3344A1
triadic
#337BA1 #A1337B #7BA133
tetradic
#337BA1 #9033A1 #A15933 #44A133
square
#337BA1 #9033A1 #A15933 #44A133
split-complementary
#337BA1 #A13344 #A19033
monochromatic
#163444 #245773 #337BA1 #4B9CC6 #7AB5D5

Accessibility & contrast

On white

4.68
#337BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#337BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337BA1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BA1#FFFFFF#000000##FFFFFF
##337BA11.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697AA3
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337ba1;
/* rgb */ color: rgb(51, 123, 161);
/* oklch */ color: oklch(55.4% 0.092 235.0);
Tailwind
colors: {
  custom: {
    50: '#78a1bd',
    500: '#337ba1',
    950: '#000000',
  },
}
SCSS
$custom: #337ba1;
$custom-light: #78a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#337ba1",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 161
  },
  "hsl": {
    "h": 200.727,
    "s": 51.887,
    "l": 41.569
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.09231,
    "h": 235
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#337BA1
secondary
#BD8C72
accent
#7E4CDB
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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