#337995#337995

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

Color values

HEX#337995
RGBrgb(51, 121, 149)
HSLhsl(197, 49%, 39%)
HSVhsv(197, 66%, 58%)
CMYKcmyk(65.8%, 18.8%, 0%, 41.6%)
CIE-LABlab(47.68, -12.82, -21.64)
CIE-LCHlch(47.68, 25.15, 239.35°)
OKLaboklab(54.37% -0.0552 -0.0604)
OKLCHoklch(54.37% 0.082 227.6)
XYZxyz(13.6253, 16.5471, 30.9038)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337995 #954F33
analogous
#339580 #337995 #334895
triadic
#337995 #953379 #799533
tetradic
#337995 #803395 #954F33 #489533
square
#337995 #803395 #954F33 #489533
split-complementary
#337995 #953348 #958033
monochromatic
#142F3A #235467 #337995 #469DC0 #73B5CF

Accessibility & contrast

On white

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

On black

4.31
#337995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337995#FFFFFF#000000##FFFFFF
##3379951.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337995;
/* rgb */ color: rgb(51, 121, 149);
/* oklch */ color: oklch(54.4% 0.082 227.6);
Tailwind
colors: {
  custom: {
    50: '#769fb4',
    500: '#337995',
    950: '#000000',
  },
}
SCSS
$custom: #337995;
$custom-light: #769fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#337995",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 149
  },
  "hsl": {
    "h": 197.143,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54367,
    "c": 0.08189,
    "h": 227.6
  },
  "luminance": 0.16548
}

Semantic roles & 50–950 ramp

primary
#337995
secondary
#B7826C
accent
#764FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337995

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

Preview Lab → · Contrast checker → · Palette generator →

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