#397197#397197

#397197 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.7% C 0.084 H 240.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#397197
RGBrgb(57, 113, 151)
HSLhsl(204, 45%, 41%)
HSVhsv(204, 62%, 59%)
CMYKcmyk(62.3%, 25.2%, 0%, 40.8%)
CIE-LABlab(45.52, -6.38, -26.15)
CIE-LCHlch(45.52, 26.92, 256.30°)
OKLaboklab(52.73% -0.0414 -0.0734)
OKLCHoklch(52.73% 0.084 240.6)
XYZxyz(13.1763, 14.9132, 31.4563)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397197 #975F39
analogous
#39978E #397197 #394297
triadic
#397197 #973971 #719739
tetradic
#397197 #8E3997 #975F39 #429739
square
#397197 #8E3997 #975F39 #429739
split-complementary
#397197 #973942 #978E39
monochromatic
#172F3E #28506B #397197 #5091BD #7DADCE

Accessibility & contrast

On white

5.27
#397197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#397197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397197
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397197#FFFFFF#000000##FFFFFF
##3971971.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#536896
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397197;
/* rgb */ color: rgb(57, 113, 151);
/* oklch */ color: oklch(52.7% 0.084 240.6);
Tailwind
colors: {
  custom: {
    50: '#7899b5',
    500: '#397197',
    950: '#000000',
  },
}
SCSS
$custom: #397197;
$custom-light: #7899b5;
$custom-dark: #000000;
JSON
{
  "hex": "#397197",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 204.255,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52732,
    "c": 0.08425,
    "h": 240.6
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#397197
secondary
#B79075
accent
#8753D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397197

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

Preview Lab → · Contrast checker → · Palette generator →

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