#397987#397987

#397987 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.069 H 214.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#397987
RGBrgb(57, 121, 135)
HSLhsl(191, 41%, 38%)
HSVhsv(191, 58%, 53%)
CMYKcmyk(57.8%, 10.4%, 0%, 47.1%)
CIE-LABlab(47.36, -16.16, -13.85)
CIE-LCHlch(47.36, 21.29, 220.61°)
OKLaboklab(53.99% -0.0569 -0.0384)
OKLCHoklch(53.99% 0.069 214)
XYZxyz(12.8961, 16.2926, 25.3822)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397987 #874739
analogous
#39876E #397987 #395287
triadic
#397987 #873979 #798739
tetradic
#397987 #6E3987 #874739 #528739
square
#397987 #6E3987 #874739 #528739
split-complementary
#397987 #873952 #876E39
monochromatic
#152C31 #27525C #397987 #4BA0B2 #75B7C5

Accessibility & contrast

On white

4.93
#397987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#397987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397987
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397987#FFFFFF#000000##FFFFFF
##3979871.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7588
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397987;
/* rgb */ color: rgb(57, 121, 135);
/* oklch */ color: oklch(54.0% 0.069 214.0);
Tailwind
colors: {
  custom: {
    50: '#779faa',
    500: '#397987',
    950: '#000000',
  },
}
SCSS
$custom: #397987;
$custom-light: #779faa;
$custom-dark: #000000;
JSON
{
  "hex": "#397987",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 190.769,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.53985,
    "c": 0.06865,
    "h": 214
  },
  "luminance": 0.16294
}

Semantic roles & 50–950 ramp

primary
#397987
secondary
#AE796E
accent
#6D57D0
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #397987

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

Preview Lab → · Contrast checker → · Palette generator →

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