#337797#337797

#337797 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.0% C 0.084 H 231.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#337797
RGBrgb(51, 119, 151)
HSLhsl(199, 50%, 40%)
HSVhsv(199, 66%, 59%)
CMYKcmyk(66.2%, 21.2%, 0%, 40.8%)
CIE-LABlab(47.15, -11.01, -23.64)
CIE-LCHlch(47.15, 26.08, 245.04°)
OKLaboklab(53.96% -0.0523 -0.0662)
OKLCHoklch(53.96% 0.084 231.7)
XYZxyz(13.5458, 16.1304, 31.6718)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337797 #975333
analogous
#339785 #337797 #334597
triadic
#337797 #973377 #779733
tetradic
#337797 #853397 #975333 #459733
square
#337797 #853397 #975333 #459733
split-complementary
#337797 #973345 #978533
monochromatic
#142F3C #245369 #337797 #479AC1 #74B3D0

Accessibility & contrast

On white

4.97
#337797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#337797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337797
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337797#FFFFFF#000000##FFFFFF
##3377971.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677699
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337797;
/* rgb */ color: rgb(51, 119, 151);
/* oklch */ color: oklch(54.0% 0.084 231.7);
Tailwind
colors: {
  custom: {
    50: '#769eb5',
    500: '#337797',
    950: '#000000',
  },
}
SCSS
$custom: #337797;
$custom-light: #769eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#337797",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 199.2,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53964,
    "c": 0.08436,
    "h": 231.7
  },
  "luminance": 0.16132
}

Semantic roles & 50–950 ramp

primary
#337797
secondary
#B8856D
accent
#7B4FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337797

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

Preview Lab → · Contrast checker → · Palette generator →

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