#337795#337795

#337795 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.083 H 230.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#337795
RGBrgb(51, 119, 149)
HSLhsl(198, 49%, 39%)
HSVhsv(198, 66%, 58%)
CMYKcmyk(65.8%, 20.1%, 0%, 41.6%)
CIE-LABlab(47.06, -11.68, -22.60)
CIE-LCHlch(47.06, 25.44, 242.66°)
OKLaboklab(53.87% -0.053 -0.0632)
OKLCHoklch(53.87% 0.083 230)
XYZxyz(13.3847, 16.0660, 30.8236)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337795 #955133
analogous
#339582 #337795 #334695
triadic
#337795 #953377 #779533
tetradic
#337795 #823395 #955133 #469533
square
#337795 #823395 #955133 #469533
split-complementary
#337795 #953346 #958233
monochromatic
#142E3A #235367 #337795 #469AC0 #73B3CF

Accessibility & contrast

On white

4.98
#337795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#337795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337795
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337795#FFFFFF#000000##FFFFFF
##3377951.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687596
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337795;
/* rgb */ color: rgb(51, 119, 149);
/* oklch */ color: oklch(53.9% 0.083 230.0);
Tailwind
colors: {
  custom: {
    50: '#769eb4',
    500: '#337795',
    950: '#000000',
  },
}
SCSS
$custom: #337795;
$custom-light: #769eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#337795",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 198.367,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.08252,
    "h": 230
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#337795
secondary
#B7836C
accent
#794FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337795

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

Preview Lab → · Contrast checker → · Palette generator →

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