#397BAB#397BAB

#397BAB is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.2% C 0.100 H 243.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#397BAB
RGBrgb(57, 123, 171)
HSLhsl(205, 50%, 45%)
HSVhsv(205, 67%, 67%)
CMYKcmyk(66.7%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.47, -5.42, -31.72)
CIE-LCHlch(49.47, 32.18, 260.30°)
OKLaboklab(56.16% -0.0456 -0.0894)
OKLCHoklch(56.16% 0.1 243)
XYZxyz(16.1182, 17.9744, 41.1401)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BAB #AB6939
analogous
#39ABA2 #397BAB #3942AB
triadic
#397BAB #AB397B #7BAB39
tetradic
#397BAB #A239AB #AB6939 #42AB39
square
#397BAB #A239AB #AB6939 #42AB39
split-complementary
#397BAB #AB3942 #ABA239
monochromatic
#1A394F #2A5A7D #397BAB #5999C8 #87B6D7

Accessibility & contrast

On white

4.57
#397BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#397BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397BAB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397BAB#FFFFFF#000000##000000
##397BAB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#657CAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #397bab;
/* rgb */ color: rgb(57, 123, 171);
/* oklch */ color: oklch(56.2% 0.100 243.0);
Tailwind
colors: {
  custom: {
    50: '#7ca1c4',
    500: '#397bab',
    950: '#000000',
  },
}
SCSS
$custom: #397bab;
$custom-light: #7ca1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#397bab",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 205.263,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.10035,
    "h": 243
  },
  "luminance": 0.17976
}

Semantic roles & 50–950 ramp

primary
#397BAB
secondary
#C19B7F
accent
#894EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #397BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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