#337997#337997

#337997 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.084 H 229.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#337997
RGBrgb(51, 121, 151)
HSLhsl(198, 50%, 40%)
HSVhsv(198, 66%, 59%)
CMYKcmyk(66.2%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.77, -12.15, -22.68)
CIE-LCHlch(47.77, 25.73, 241.83°)
OKLaboklab(54.46% -0.0545 -0.0635)
OKLCHoklch(54.46% 0.084 229.3)
XYZxyz(13.7863, 16.6115, 31.7519)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337997 #975133
analogous
#339783 #337997 #334797
triadic
#337997 #973379 #799733
tetradic
#337997 #833397 #975133 #479733
square
#337997 #833397 #975133 #479733
split-complementary
#337997 #973347 #978333
monochromatic
#14303C #245469 #337997 #479CC1 #74B5D0

Accessibility & contrast

On white

4.86
#337997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#337997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337997
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337997#FFFFFF#000000##FFFFFF
##3379971.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7798
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337997;
/* rgb */ color: rgb(51, 121, 151);
/* oklch */ color: oklch(54.5% 0.084 229.3);
Tailwind
colors: {
  custom: {
    50: '#769fb5',
    500: '#337997',
    950: '#000000',
  },
}
SCSS
$custom: #337997;
$custom-light: #769fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#337997",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 198,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.08363,
    "h": 229.3
  },
  "luminance": 0.16613
}

Semantic roles & 50–950 ramp

primary
#337997
secondary
#B8846D
accent
#784FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337997

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

Preview Lab → · Contrast checker → · Palette generator →

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