#337397#337397

#337397 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.0% C 0.086 H 236.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#337397
RGBrgb(51, 115, 151)
HSLhsl(202, 50%, 40%)
HSVhsv(202, 66%, 59%)
CMYKcmyk(66.2%, 23.8%, 0%, 40.8%)
CIE-LABlab(45.90, -8.69, -25.57)
CIE-LCHlch(45.90, 27.00, 251.23°)
OKLaboklab(52.98% -0.0479 -0.0718)
OKLCHoklch(52.98% 0.086 236.3)
XYZxyz(13.0797, 15.1983, 31.5164)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337397 #975733
analogous
#339789 #337397 #334197
triadic
#337397 #973373 #739733
tetradic
#337397 #893397 #975733 #419733
square
#337397 #893397 #975733 #419733
split-complementary
#337397 #973341 #978933
monochromatic
#142D3C #245069 #337397 #4795C1 #74AFD0

Accessibility & contrast

On white

5.20
#337397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#337397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337397
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337397#FFFFFF#000000##FFFFFF
##3373971.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627299
Deuteranopia (green-blind)
#546896
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337397;
/* rgb */ color: rgb(51, 115, 151);
/* oklch */ color: oklch(53.0% 0.086 236.3);
Tailwind
colors: {
  custom: {
    50: '#769bb5',
    500: '#337397',
    950: '#000000',
  },
}
SCSS
$custom: #337397;
$custom-light: #769bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#337397",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 201.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52978,
    "c": 0.08627,
    "h": 236.3
  },
  "luminance": 0.152
}

Semantic roles & 50–950 ramp

primary
#337397
secondary
#B8886D
accent
#814FD9
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #337397

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

Preview Lab → · Contrast checker → · Palette generator →

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