#397DC7#397DC7

#397DC7 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.133 H 252.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#397DC7
RGBrgb(57, 125, 199)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 71%, 78%)
CMYKcmyk(71.4%, 37.2%, 0%, 22%)
CIE-LABlab(51.45, 3.29, -44.71)
CIE-LCHlch(51.45, 44.83, 274.21°)
OKLaboklab(58.17% -0.0395 -0.1272)
OKLCHoklch(58.17% 0.133 252.7)
XYZxyz(19.3259, 19.6585, 56.7977)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397DC7 #C78339
analogous
#39C4C7 #397DC7 #3C39C7
triadic
#397DC7 #C7397D #7DC739
tetradic
#397DC7 #C739C4 #C78339 #39C73C
square
#397DC7 #C739C4 #C78339 #39C73C
split-complementary
#397DC7 #C73C39 #C4C739
monochromatic
#1D4168 #2B5F98 #397DC7 #699CD4 #98BCE2

Accessibility & contrast

On white

4.26
#397DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#397DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397DC7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397DC7#FFFFFF#000000##000000
##397DC71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#4675C6
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #397dc7;
/* rgb */ color: rgb(57, 125, 199);
/* oklch */ color: oklch(58.2% 0.133 252.7);
Tailwind
colors: {
  custom: {
    50: '#80a2d8',
    500: '#397dc7',
    950: '#000000',
  },
}
SCSS
$custom: #397dc7;
$custom-light: #80a2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#397dc7",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 211.268,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.13324,
    "h": 252.7
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#397DC7
secondary
#CEAF8E
accent
#9749DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #397DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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