#337994#337994

#337994 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.081 H 226.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#337994
RGBrgb(51, 121, 148)
HSLhsl(197, 49%, 39%)
HSVhsv(197, 66%, 58%)
CMYKcmyk(65.5%, 18.2%, 0%, 42%)
CIE-LABlab(47.64, -13.15, -21.11)
CIE-LCHlch(47.64, 24.87, 238.07°)
OKLaboklab(54.32% -0.0556 -0.0589)
OKLCHoklch(54.32% 0.081 226.6)
XYZxyz(13.5458, 16.5153, 30.4851)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337994 #944E33
analogous
#33947F #337994 #334994
triadic
#337994 #943379 #799433
tetradic
#337994 #7F3394 #944E33 #499433
square
#337994 #7F3394 #944E33 #499433
split-complementary
#337994 #943349 #947F33
monochromatic
#142F39 #235466 #337994 #459DBF #73B5CF

Accessibility & contrast

On white

4.88
#337994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#337994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337994
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337994#FFFFFF#000000##FFFFFF
##3379941.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337994;
/* rgb */ color: rgb(51, 121, 148);
/* oklch */ color: oklch(54.3% 0.081 226.6);
Tailwind
colors: {
  custom: {
    50: '#769fb3',
    500: '#337994',
    950: '#000000',
  },
}
SCSS
$custom: #337994;
$custom-light: #769fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#337994",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 148
  },
  "hsl": {
    "h": 196.701,
    "s": 48.744,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54321,
    "c": 0.08107,
    "h": 226.6
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#337994
secondary
#B7816C
accent
#764FD8
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337994

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

Preview Lab → · Contrast checker → · Palette generator →

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