#397EC6#397EC6

#397EC6 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.131 H 251.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#397EC6
RGBrgb(57, 126, 198)
HSLhsl(211, 55%, 50%)
HSVhsv(211, 71%, 78%)
CMYKcmyk(71.2%, 36.4%, 0%, 22.4%)
CIE-LABlab(51.69, 2.32, -43.76)
CIE-LCHlch(51.69, 43.82, 273.04°)
OKLaboklab(58.34% -0.0407 -0.1245)
OKLCHoklch(58.34% 0.131 251.9)
XYZxyz(19.3374, 19.8667, 56.2307)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EC6 #C68139
analogous
#39C5C6 #397EC6 #3A39C6
triadic
#397EC6 #C6397E #7EC639
tetradic
#397EC6 #C639C5 #C68139 #39C63A
square
#397EC6 #C639C5 #C68139 #39C63A
split-complementary
#397EC6 #C63A39 #C5C639
monochromatic
#1E4267 #2B6096 #397EC6 #699DD4 #98BCE1

Accessibility & contrast

On white

4.22
#397EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#397EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397EC6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397EC6#FFFFFF#000000##000000
##397EC61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397ec6;
/* rgb */ color: rgb(57, 126, 198);
/* oklch */ color: oklch(58.3% 0.131 251.9);
Tailwind
colors: {
  custom: {
    50: '#80a3d7',
    500: '#397ec6',
    950: '#000000',
  },
}
SCSS
$custom: #397ec6;
$custom-light: #80a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#397ec6",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 210.638,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.5834,
    "c": 0.13096,
    "h": 251.9
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#397EC6
secondary
#CDAE8E
accent
#9549DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #397EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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