#397EAB#397EAB

#397EAB is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.098 H 240.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#397EAB
RGBrgb(57, 126, 171)
HSLhsl(204, 50%, 45%)
HSVhsv(204, 67%, 67%)
CMYKcmyk(66.7%, 26.3%, 0%, 32.9%)
CIE-LABlab(50.37, -7.18, -30.30)
CIE-LCHlch(50.37, 31.14, 256.68°)
OKLaboklab(56.87% -0.0488 -0.0853)
OKLCHoklch(56.87% 0.098 240.2)
XYZxyz(16.4961, 18.7301, 41.2661)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EAB #AB6639
analogous
#39AB9F #397EAB #3945AB
triadic
#397EAB #AB397E #7EAB39
tetradic
#397EAB #9F39AB #AB6639 #45AB39
square
#397EAB #9F39AB #AB6639 #45AB39
split-complementary
#397EAB #AB3945 #AB9F39
monochromatic
#1A3A4F #2A5C7D #397EAB #599CC8 #87B8D7

Accessibility & contrast

On white

4.42
#397EAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#397EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397EAB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397EAB#FFFFFF#000000##000000
##397EAB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#5A73AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #397eab;
/* rgb */ color: rgb(57, 126, 171);
/* oklch */ color: oklch(56.9% 0.098 240.2);
Tailwind
colors: {
  custom: {
    50: '#7ca3c4',
    500: '#397eab',
    950: '#000000',
  },
}
SCSS
$custom: #397eab;
$custom-light: #7ca3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#397eab",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 171
  },
  "hsl": {
    "h": 203.684,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.09824,
    "h": 240.2
  },
  "luminance": 0.18732
}

Semantic roles & 50–950 ramp

primary
#397EAB
secondary
#C1997F
accent
#854EDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #397EAB

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

Preview Lab → · Contrast checker → · Palette generator →

#397EAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva