#337991#337991

#337991 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.079 H 223.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#337991
RGBrgb(51, 121, 145)
HSLhsl(195, 48%, 38%)
HSVhsv(195, 65%, 57%)
CMYKcmyk(64.8%, 16.6%, 0%, 43.1%)
CIE-LABlab(47.52, -14.15, -19.53)
CIE-LCHlch(47.52, 24.11, 234.07°)
OKLaboklab(54.18% -0.0568 -0.0544)
OKLCHoklch(54.18% 0.079 223.8)
XYZxyz(13.3114, 16.4215, 29.2507)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337991 #914B33
analogous
#33917A #337991 #334A91
triadic
#337991 #913379 #799133
tetradic
#337991 #7A3391 #914B33 #4A9133
square
#337991 #7A3391 #914B33 #4A9133
split-complementary
#337991 #91334A #917A33
monochromatic
#132D36 #235364 #337991 #449EBD #71B6CD

Accessibility & contrast

On white

4.90
#337991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#337991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337991
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337991#FFFFFF#000000##FFFFFF
##3379911.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7692
Deuteranopia (green-blind)
#5E6C91
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337991;
/* rgb */ color: rgb(51, 121, 145);
/* oklch */ color: oklch(54.2% 0.079 223.8);
Tailwind
colors: {
  custom: {
    50: '#759fb1',
    500: '#337991',
    950: '#000000',
  },
}
SCSS
$custom: #337991;
$custom-light: #759fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#337991",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 145
  },
  "hsl": {
    "h": 195.319,
    "s": 47.959,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54184,
    "c": 0.07871,
    "h": 223.8
  },
  "luminance": 0.16423
}

Semantic roles & 50–950 ramp

primary
#337991
secondary
#B57E6B
accent
#7350D8
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #337991

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

Preview Lab → · Contrast checker → · Palette generator →

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