#337BA5#337BA5

#337BA5 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.6% C 0.096 H 237.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#337BA5
RGBrgb(51, 123, 165)
HSLhsl(202, 53%, 42%)
HSVhsv(202, 69%, 65%)
CMYKcmyk(69.1%, 25.5%, 0%, 35.3%)
CIE-LABlab(48.99, -8.51, -28.99)
CIE-LCHlch(48.99, 30.21, 253.65°)
OKLaboklab(55.63% -0.0515 -0.0816)
OKLCHoklch(55.63% 0.096 237.7)
XYZxyz(15.2371, 17.5847, 38.1812)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337BA5 #A55D33
analogous
#33A596 #337BA5 #3342A5
triadic
#337BA5 #A5337B #7BA533
tetradic
#337BA5 #9633A5 #A55D33 #42A533
square
#337BA5 #9633A5 #A55D33 #42A533
split-complementary
#337BA5 #A53342 #A59633
monochromatic
#163548 #255876 #337BA5 #4D9BC8 #7CB5D6

Accessibility & contrast

On white

4.65
#337BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337BA5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337BA5#FFFFFF#000000##FFFFFF
##337BA51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA7
Deuteranopia (green-blind)
#586FA4
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #337ba5;
/* rgb */ color: rgb(51, 123, 165);
/* oklch */ color: oklch(55.6% 0.096 237.7);
Tailwind
colors: {
  custom: {
    50: '#78a1c0',
    500: '#337ba5',
    950: '#000000',
  },
}
SCSS
$custom: #337ba5;
$custom-light: #78a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#337ba5",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 165
  },
  "hsl": {
    "h": 202.105,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55632,
    "c": 0.09646,
    "h": 237.7
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#337BA5
secondary
#BF9075
accent
#814CDC
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #337BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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