#337899#337899

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

Color values

HEX#337899
RGBrgb(51, 120, 153)
HSLhsl(199, 50%, 40%)
HSVhsv(199, 67%, 60%)
CMYKcmyk(66.7%, 21.6%, 0%, 40%)
CIE-LABlab(47.54, -10.90, -24.21)
CIE-LCHlch(47.54, 26.55, 245.76°)
OKLaboklab(54.31% -0.0526 -0.0678)
OKLCHoklch(54.31% 0.086 232.2)
XYZxyz(13.8292, 16.4352, 32.5743)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337899 #995433
analogous
#339987 #337899 #334599
triadic
#337899 #993378 #789933
tetradic
#337899 #873399 #995433 #459933
square
#337899 #873399 #995433 #459933
split-complementary
#337899 #993345 #998733
monochromatic
#14303D #24546B #337899 #479AC2 #75B3D1

Accessibility & contrast

On white

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

On black

4.29
#337899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337899#FFFFFF#000000##FFFFFF
##3378991.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779B
Deuteranopia (green-blind)
#5A6C99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #337899;
/* rgb */ color: rgb(51, 120, 153);
/* oklch */ color: oklch(54.3% 0.086 232.2);
Tailwind
colors: {
  custom: {
    50: '#769fb7',
    500: '#337899',
    950: '#000000',
  },
}
SCSS
$custom: #337899;
$custom-light: #769fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#337899",
  "rgb": {
    "r": 51,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 199.412,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.08585,
    "h": 232.2
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#337899
secondary
#B9876E
accent
#7B4EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337899

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

Preview Lab → · Contrast checker → · Palette generator →

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