#397EC7#397EC7

#397EC7 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.4% C 0.132 H 252.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#397EC7
RGBrgb(57, 126, 199)
HSLhsl(211, 56%, 50%)
HSVhsv(211, 71%, 78%)
CMYKcmyk(71.4%, 36.7%, 0%, 22%)
CIE-LABlab(51.74, 2.68, -44.25)
CIE-LCHlch(51.74, 44.33, 273.47°)
OKLaboklab(58.4% -0.0405 -0.1259)
OKLCHoklch(58.4% 0.132 252.2)
XYZxyz(19.4532, 19.9130, 56.8401)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EC7 #C78239
analogous
#39C5C7 #397EC7 #3B39C7
triadic
#397EC7 #C7397E #7EC739
tetradic
#397EC7 #C739C5 #C78239 #39C73B
square
#397EC7 #C739C5 #C78239 #39C73B
split-complementary
#397EC7 #C73B39 #C5C739
monochromatic
#1D4268 #2B6098 #397EC7 #699DD4 #98BCE2

Accessibility & contrast

On white

4.21
#397EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#397EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397EC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397EC7#FFFFFF#000000##000000
##397EC71.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4875C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #397ec7;
/* rgb */ color: rgb(57, 126, 199);
/* oklch */ color: oklch(58.4% 0.132 252.2);
Tailwind
colors: {
  custom: {
    50: '#80a3d8',
    500: '#397ec7',
    950: '#000000',
  },
}
SCSS
$custom: #397ec7;
$custom-light: #80a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#397ec7",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 210.845,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58399,
    "c": 0.13223,
    "h": 252.2
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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