#397AC6#397AC6

#397AC6 is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.135 H 254.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#397AC6
RGBrgb(57, 122, 198)
HSLhsl(212, 55%, 50%)
HSVhsv(212, 71%, 78%)
CMYKcmyk(71.2%, 38.4%, 0%, 22.4%)
CIE-LABlab(50.53, 4.75, -45.60)
CIE-LCHlch(50.53, 45.85, 275.95°)
OKLaboklab(57.44% -0.0369 -0.1299)
OKLCHoklch(57.44% 0.135 254.1)
XYZxyz(18.8362, 18.8641, 56.0636)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397AC6 #C68539
analogous
#39C1C6 #397AC6 #3E39C6
triadic
#397AC6 #C6397A #7AC639
tetradic
#397AC6 #C639C1 #C68539 #39C63E
square
#397AC6 #C639C1 #C68539 #39C63E
split-complementary
#397AC6 #C63E39 #C1C639
monochromatic
#1E3F67 #2B5D96 #397AC6 #699AD4 #98BAE1

Accessibility & contrast

On white

4.40
#397AC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#397AC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397AC6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397AC6#FFFFFF#000000##000000
##397AC61.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC9
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #397ac6;
/* rgb */ color: rgb(57, 122, 198);
/* oklch */ color: oklch(57.4% 0.135 254.1);
Tailwind
colors: {
  custom: {
    50: '#80a0d8',
    500: '#397ac6',
    950: '#000000',
  },
}
SCSS
$custom: #397ac6;
$custom-light: #80a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#397ac6",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 198
  },
  "hsl": {
    "h": 212.34,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.57435,
    "c": 0.13505,
    "h": 254.1
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#397AC6
secondary
#CDB08E
accent
#9A49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #397AC6

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

Preview Lab → · Contrast checker → · Palette generator →

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