#337897#337897

#337897 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.084 H 230.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#337897
RGBrgb(51, 120, 151)
HSLhsl(199, 50%, 40%)
HSVhsv(199, 66%, 59%)
CMYKcmyk(66.2%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.46, -11.58, -23.16)
CIE-LCHlch(47.46, 25.90, 243.44°)
OKLaboklab(54.21% -0.0534 -0.0648)
OKLCHoklch(54.21% 0.084 230.5)
XYZxyz(13.6654, 16.3697, 31.7116)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337897 #975233
analogous
#339784 #337897 #334697
triadic
#337897 #973378 #789733
tetradic
#337897 #843397 #975233 #469733
square
#337897 #843397 #975233 #469733
split-complementary
#337897 #973346 #978433
monochromatic
#142F3C #245469 #337897 #479BC1 #74B4D0

Accessibility & contrast

On white

4.91
#337897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#337897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337897
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337897#FFFFFF#000000##FFFFFF
##3378971.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337897;
/* rgb */ color: rgb(51, 120, 151);
/* oklch */ color: oklch(54.2% 0.084 230.5);
Tailwind
colors: {
  custom: {
    50: '#769fb5',
    500: '#337897',
    950: '#000000',
  },
}
SCSS
$custom: #337897;
$custom-light: #769fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#337897",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 198.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54212,
    "c": 0.08398,
    "h": 230.5
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337897

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

Preview Lab → · Contrast checker → · Palette generator →

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