#397EC5#397EC5

#397EC5 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.130 H 251.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#397EC5
RGBrgb(57, 126, 197)
HSLhsl(210, 55%, 50%)
HSVhsv(210, 71%, 77%)
CMYKcmyk(71.1%, 36%, 0%, 22.7%)
CIE-LABlab(51.63, 1.97, -43.27)
CIE-LCHlch(51.63, 43.32, 272.60°)
OKLaboklab(58.28% -0.041 -0.123)
OKLCHoklch(58.28% 0.13 251.6)
XYZxyz(19.2225, 19.8207, 55.6252)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EC5 #C58039
analogous
#39C4C5 #397EC5 #3A39C5
triadic
#397EC5 #C5397E #7EC539
tetradic
#397EC5 #C539C4 #C58039 #39C53A
square
#397EC5 #C539C4 #C58039 #39C53A
split-complementary
#397EC5 #C53A39 #C4C539
monochromatic
#1E4166 #2B6096 #397EC5 #689DD3 #97BCE1

Accessibility & contrast

On white

4.23
#397EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#397EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397EC5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397EC5#FFFFFF#000000##000000
##397EC51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C8
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #397ec5;
/* rgb */ color: rgb(57, 126, 197);
/* oklch */ color: oklch(58.3% 0.130 251.6);
Tailwind
colors: {
  custom: {
    50: '#80a3d7',
    500: '#397ec5',
    950: '#000000',
  },
}
SCSS
$custom: #397ec5;
$custom-light: #80a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#397ec5",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 210.429,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.12968,
    "h": 251.6
  },
  "luminance": 0.19823
}

Semantic roles & 50–950 ramp

primary
#397EC5
secondary
#CDAD8D
accent
#9549DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #397EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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