#397EC4#397EC4

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

Color values

HEX#397EC4
RGBrgb(57, 126, 196)
HSLhsl(210, 55%, 50%)
HSVhsv(210, 71%, 77%)
CMYKcmyk(70.9%, 35.7%, 0%, 23.1%)
CIE-LABlab(51.58, 1.61, -42.78)
CIE-LCHlch(51.58, 42.81, 272.15°)
OKLaboklab(58.23% -0.0412 -0.1216)
OKLCHoklch(58.23% 0.128 251.3)
XYZxyz(19.1083, 19.7750, 55.0238)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EC4 #C47F39
analogous
#39C4C4 #397EC4 #3A39C4
triadic
#397EC4 #C4397E #7EC439
tetradic
#397EC4 #C439C4 #C47F39 #39C43A
square
#397EC4 #C439C4 #C47F39 #39C43A
split-complementary
#397EC4 #C43A39 #C4C439
monochromatic
#1D4165 #2B6095 #397EC4 #679DD3 #97BBE1

Accessibility & contrast

On white

4.24
#397EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##397EC4#FFFFFF#000000##000000
##397EC41.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C7
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #397ec4;
/* rgb */ color: rgb(57, 126, 196);
/* oklch */ color: oklch(58.2% 0.128 251.3);
Tailwind
colors: {
  custom: {
    50: '#80a3d6',
    500: '#397ec4',
    950: '#000000',
  },
}
SCSS
$custom: #397ec4;
$custom-light: #80a3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#397ec4",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 210.216,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.12841,
    "h": 251.3
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#397EC4
secondary
#CCAD8D
accent
#944ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #397EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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