#337387#337387

#337387 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.2% C 0.072 H 221.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#337387
RGBrgb(51, 115, 135)
HSLhsl(194, 45%, 36%)
HSVhsv(194, 62%, 53%)
CMYKcmyk(62.2%, 14.8%, 0%, 47.1%)
CIE-LABlab(45.24, -14.06, -17.10)
CIE-LCHlch(45.24, 22.13, 230.58°)
OKLaboklab(52.23% -0.0541 -0.0476)
OKLCHoklch(52.23% 0.072 221.3)
XYZxyz(11.8674, 14.7134, 25.1315)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337387 #874733
analogous
#338771 #337387 #334987
triadic
#337387 #873373 #738733
tetradic
#337387 #713387 #874733 #498733
square
#337387 #713387 #874733 #498733
split-complementary
#337387 #873349 #877133
monochromatic
#11272E #224D5B #337387 #4499B3 #6DB2C8

Accessibility & contrast

On white

5.33
#337387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#337387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337387
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337387#FFFFFF#000000##FFFFFF
##3373871.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677088
Deuteranopia (green-blind)
#5B6787
Tritanopia (blue-blind)
#007979
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337387;
/* rgb */ color: rgb(51, 115, 135);
/* oklch */ color: oklch(52.2% 0.072 221.3);
Tailwind
colors: {
  custom: {
    50: '#749baa',
    500: '#337387',
    950: '#000000',
  },
}
SCSS
$custom: #337387;
$custom-light: #749baa;
$custom-dark: #000000;
JSON
{
  "hex": "#337387",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 135
  },
  "hsl": {
    "h": 194.286,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.07202,
    "h": 221.3
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#337387
secondary
#B07866
accent
#7253D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #337387

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

Preview Lab → · Contrast checker → · Palette generator →

#337387 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva