#337498#337498

#337498 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.3% C 0.087 H 235.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#337498
RGBrgb(51, 116, 152)
HSLhsl(201, 50%, 40%)
HSVhsv(201, 66%, 60%)
CMYKcmyk(66.4%, 23.7%, 0%, 40.4%)
CIE-LABlab(46.26, -8.93, -25.61)
CIE-LCHlch(46.26, 27.12, 250.78°)
OKLaboklab(53.27% -0.0486 -0.0719)
OKLCHoklch(53.27% 0.087 235.9)
XYZxyz(13.2759, 15.4602, 31.9841)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337498 #985733
analogous
#33988A #337498 #334298
triadic
#337498 #983374 #749833
tetradic
#337498 #8A3398 #985733 #429833
square
#337498 #8A3398 #985733 #429833
split-complementary
#337498 #983342 #988A33
monochromatic
#142E3C #24516A #337498 #4796C1 #75B0D1

Accessibility & contrast

On white

5.13
#337498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#337498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337498
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337498#FFFFFF#000000##FFFFFF
##3374981.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63739A
Deuteranopia (green-blind)
#556997
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337498;
/* rgb */ color: rgb(51, 116, 152);
/* oklch */ color: oklch(53.3% 0.087 235.9);
Tailwind
colors: {
  custom: {
    50: '#769cb6',
    500: '#337498',
    950: '#000000',
  },
}
SCSS
$custom: #337498;
$custom-light: #769cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#337498",
  "rgb": {
    "r": 51,
    "g": 116,
    "b": 152
  },
  "hsl": {
    "h": 201.386,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53273,
    "c": 0.08677,
    "h": 235.9
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#337498
secondary
#B9896E
accent
#804FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337498

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

Preview Lab → · Contrast checker → · Palette generator →

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