#337798#337798

#337798 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.085 H 232.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#337798
RGBrgb(51, 119, 152)
HSLhsl(200, 50%, 40%)
HSVhsv(200, 66%, 60%)
CMYKcmyk(66.4%, 21.7%, 0%, 40.4%)
CIE-LABlab(47.19, -10.67, -24.17)
CIE-LCHlch(47.19, 26.42, 246.19°)
OKLaboklab(54.01% -0.0519 -0.0677)
OKLCHoklch(54.01% 0.085 232.5)
XYZxyz(13.6273, 16.1630, 32.1013)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337798 #985433
analogous
#339887 #337798 #334498
triadic
#337798 #983377 #779833
tetradic
#337798 #873398 #985433 #449833
square
#337798 #873398 #985433 #449833
split-complementary
#337798 #983344 #988733
monochromatic
#142F3C #24536A #337798 #4799C1 #75B3D1

Accessibility & contrast

On white

4.96
#337798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337798
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337798#FFFFFF#000000##FFFFFF
##3377981.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#596B98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337798;
/* rgb */ color: rgb(51, 119, 152);
/* oklch */ color: oklch(54.0% 0.085 232.5);
Tailwind
colors: {
  custom: {
    50: '#769eb6',
    500: '#337798',
    950: '#000000',
  },
}
SCSS
$custom: #337798;
$custom-light: #769eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#337798",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 199.604,
    "s": 49.754,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.08532,
    "h": 232.5
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#337798
secondary
#B9866E
accent
#7C4FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337798

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

Preview Lab → · Contrast checker → · Palette generator →

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