#397787#397787

#397787 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.068 H 217.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#397787
RGBrgb(57, 119, 135)
HSLhsl(192, 41%, 38%)
HSVhsv(192, 58%, 53%)
CMYKcmyk(57.8%, 11.9%, 0%, 47.1%)
CIE-LABlab(46.73, -15.05, -14.81)
CIE-LCHlch(46.73, 21.12, 224.54°)
OKLaboklab(53.48% -0.0545 -0.0411)
OKLCHoklch(53.48% 0.068 217)
XYZxyz(12.6556, 15.8116, 25.3020)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397787 #874939
analogous
#398770 #397787 #395087
triadic
#397787 #873977 #778739
tetradic
#397787 #703987 #874939 #508739
square
#397787 #703987 #874939 #508739
split-complementary
#397787 #873950 #877039
monochromatic
#152B31 #27515C #397787 #4B9DB2 #75B5C5

Accessibility & contrast

On white

5.04
#397787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#397787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397787
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397787#FFFFFF#000000##FFFFFF
##3977871.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7488
Deuteranopia (green-blind)
#616B87
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397787;
/* rgb */ color: rgb(57, 119, 135);
/* oklch */ color: oklch(53.5% 0.068 217.0);
Tailwind
colors: {
  custom: {
    50: '#779eaa',
    500: '#397787',
    950: '#000000',
  },
}
SCSS
$custom: #397787;
$custom-light: #779eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#397787",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 192.308,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.5348,
    "c": 0.06826,
    "h": 217
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#397787
secondary
#AE7B6E
accent
#7057D0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #397787

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

Preview Lab → · Contrast checker → · Palette generator →

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