#397AC5#397AC5

#397AC5 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.4% C 0.134 H 253.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#397AC5
RGBrgb(57, 122, 197)
HSLhsl(212, 55%, 50%)
HSVhsv(212, 71%, 77%)
CMYKcmyk(71.1%, 38.1%, 0%, 22.7%)
CIE-LABlab(50.47, 4.39, -45.11)
CIE-LCHlch(50.47, 45.33, 275.56°)
OKLaboklab(57.38% -0.0372 -0.1285)
OKLCHoklch(57.38% 0.134 253.9)
XYZxyz(18.7212, 18.8181, 55.4581)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397AC5 #C58439
analogous
#39C0C5 #397AC5 #3E39C5
triadic
#397AC5 #C5397A #7AC539
tetradic
#397AC5 #C539C0 #C58439 #39C53E
square
#397AC5 #C539C0 #C58439 #39C53E
split-complementary
#397AC5 #C53E39 #C0C539
monochromatic
#1E3F66 #2B5D96 #397AC5 #689AD3 #97BAE1

Accessibility & contrast

On white

4.41
#397AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#397AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397AC5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397AC5#FFFFFF#000000##000000
##397AC51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC8
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #397ac5;
/* rgb */ color: rgb(57, 122, 197);
/* oklch */ color: oklch(57.4% 0.134 253.9);
Tailwind
colors: {
  custom: {
    50: '#80a0d7',
    500: '#397ac5',
    950: '#000000',
  },
}
SCSS
$custom: #397ac5;
$custom-light: #80a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#397ac5",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 212.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57376,
    "c": 0.13375,
    "h": 253.9
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#397AC5
secondary
#CDAF8D
accent
#9949DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #397AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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