#397897#397897

#397897 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.081 H 232.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#397897
RGBrgb(57, 120, 151)
HSLhsl(200, 45%, 41%)
HSVhsv(200, 62%, 59%)
CMYKcmyk(62.3%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.67, -10.46, -22.82)
CIE-LCHlch(47.67, 25.10, 245.38°)
OKLaboklab(54.44% -0.0493 -0.0638)
OKLCHoklch(54.44% 0.081 232.3)
XYZxyz(13.9876, 16.5358, 31.7267)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397897 #975839
analogous
#399787 #397897 #394997
triadic
#397897 #973978 #789739
tetradic
#397897 #873997 #975839 #499739
square
#397897 #873997 #975839 #499739
split-complementary
#397897 #973949 #978739
monochromatic
#17313E #28556B #397897 #5099BD #7DB3CE

Accessibility & contrast

On white

4.88
#397897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#397897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397897
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397897#FFFFFF#000000##FFFFFF
##3978971.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397897;
/* rgb */ color: rgb(57, 120, 151);
/* oklch */ color: oklch(54.4% 0.081 232.3);
Tailwind
colors: {
  custom: {
    50: '#799fb5',
    500: '#397897',
    950: '#000000',
  },
}
SCSS
$custom: #397897;
$custom-light: #799fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#397897",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 199.787,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.08062,
    "h": 232.3
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397897

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

Preview Lab → · Contrast checker → · Palette generator →

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