#397997#397997

#397997 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.080 H 231.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#397997
RGBrgb(57, 121, 151)
HSLhsl(199, 45%, 41%)
HSVhsv(199, 62%, 59%)
CMYKcmyk(62.3%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.98, -11.03, -22.34)
CIE-LCHlch(47.98, 24.92, 243.72°)
OKLaboklab(54.69% -0.0504 -0.0624)
OKLCHoklch(54.69% 0.08 231)
XYZxyz(14.1085, 16.7776, 31.7670)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397997 #975739
analogous
#399786 #397997 #394A97
triadic
#397997 #973979 #799739
tetradic
#397997 #863997 #975739 #4A9739
square
#397997 #863997 #975739 #4A9739
split-complementary
#397997 #97394A #978639
monochromatic
#17323E #28556B #397997 #509ABD #7DB4CE

Accessibility & contrast

On white

4.82
#397997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#397997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397997
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397997#FFFFFF#000000##FFFFFF
##3979971.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7798
Deuteranopia (green-blind)
#5D6E97
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #397997;
/* rgb */ color: rgb(57, 121, 151);
/* oklch */ color: oklch(54.7% 0.080 231.0);
Tailwind
colors: {
  custom: {
    50: '#799fb5',
    500: '#397997',
    950: '#000000',
  },
}
SCSS
$custom: #397997;
$custom-light: #799fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#397997",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 199.149,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.08025,
    "h": 231
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#397997
secondary
#B78A75
accent
#7C53D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397997

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

Preview Lab → · Contrast checker → · Palette generator →

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