#397797#397797

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

Color values

HEX#397797
RGBrgb(57, 119, 151)
HSLhsl(200, 45%, 41%)
HSVhsv(200, 62%, 59%)
CMYKcmyk(62.3%, 21.2%, 0%, 40.8%)
CIE-LABlab(47.36, -9.88, -23.29)
CIE-LCHlch(47.36, 25.30, 247.01°)
OKLaboklab(54.2% -0.0482 -0.0651)
OKLCHoklch(54.2% 0.081 233.5)
XYZxyz(13.8679, 16.2965, 31.6869)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397797 #975939
analogous
#399788 #397797 #394897
triadic
#397797 #973977 #779739
tetradic
#397797 #883997 #975939 #489739
square
#397797 #883997 #975939 #489739
split-complementary
#397797 #973948 #978839
monochromatic
#17313E #28546B #397797 #5098BD #7DB2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397797#FFFFFF#000000##FFFFFF
##3977971.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)
#677699
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397797;
/* rgb */ color: rgb(57, 119, 151);
/* oklch */ color: oklch(54.2% 0.081 233.5);
Tailwind
colors: {
  custom: {
    50: '#799eb5',
    500: '#397797',
    950: '#000000',
  },
}
SCSS
$custom: #397797;
$custom-light: #799eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#397797",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 200.426,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54197,
    "c": 0.08103,
    "h": 233.5
  },
  "luminance": 0.16298
}

Semantic roles & 50–950 ramp

primary
#397797
secondary
#B78B75
accent
#7F53D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397797

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

Preview Lab → · Contrast checker → · Palette generator →

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