#337996#337996

#337996 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.083 H 228.5°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#337996
RGBrgb(51, 121, 150)
HSLhsl(198, 49%, 39%)
HSVhsv(198, 66%, 59%)
CMYKcmyk(66%, 19.3%, 0%, 41.2%)
CIE-LABlab(47.73, -12.48, -22.16)
CIE-LCHlch(47.73, 25.44, 240.61°)
OKLaboklab(54.41% -0.0549 -0.0619)
OKLCHoklch(54.41% 0.083 228.5)
XYZxyz(13.7055, 16.5791, 31.3260)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337996 #965033
analogous
#339682 #337996 #334796
triadic
#337996 #963379 #799633
tetradic
#337996 #823396 #965033 #479633
square
#337996 #823396 #965033 #479633
split-complementary
#337996 #963347 #968233
monochromatic
#142F3B #235468 #337996 #469CC0 #74B5D0

Accessibility & contrast

On white

4.87
#337996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337996
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337996#FFFFFF#000000##FFFFFF
##3379961.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7797
Deuteranopia (green-blind)
#5C6D96
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337996;
/* rgb */ color: rgb(51, 121, 150);
/* oklch */ color: oklch(54.4% 0.083 228.5);
Tailwind
colors: {
  custom: {
    50: '#769fb5',
    500: '#337996',
    950: '#000000',
  },
}
SCSS
$custom: #337996;
$custom-light: #769fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#337996",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 150
  },
  "hsl": {
    "h": 197.576,
    "s": 49.254,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54413,
    "c": 0.08276,
    "h": 228.5
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#337996
secondary
#B8836D
accent
#774FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337996

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

Preview Lab → · Contrast checker → · Palette generator →

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