#397AC2#397AC2

#397AC2 is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.2% C 0.130 H 253.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#397AC2
RGBrgb(57, 122, 194)
HSLhsl(212, 55%, 49%)
HSVhsv(212, 71%, 76%)
CMYKcmyk(70.6%, 37.1%, 0%, 23.9%)
CIE-LABlab(50.31, 3.31, -43.65)
CIE-LCHlch(50.31, 43.78, 274.34°)
OKLaboklab(57.2% -0.0379 -0.1242)
OKLCHoklch(57.2% 0.13 253)
XYZxyz(18.3809, 18.6820, 53.6658)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397AC2 #C28139
analogous
#39BFC2 #397AC2 #3D39C2
triadic
#397AC2 #C2397A #7AC239
tetradic
#397AC2 #C239BF #C28139 #39C23D
square
#397AC2 #C239BF #C28139 #39C23D
split-complementary
#397AC2 #C23D39 #BFC239
monochromatic
#1D3F63 #2B5C93 #397AC2 #6699D2 #95B9E0

Accessibility & contrast

On white

4.43
#397AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#397AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397AC2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397AC2#FFFFFF#000000##000000
##397AC21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#4572C1
Tritanopia (blue-blind)
#008B95
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #397ac2;
/* rgb */ color: rgb(57, 122, 194);
/* oklch */ color: oklch(57.2% 0.130 253.0);
Tailwind
colors: {
  custom: {
    50: '#7fa0d5',
    500: '#397ac2',
    950: '#000000',
  },
}
SCSS
$custom: #397ac2;
$custom-light: #7fa0d5;
$custom-dark: #000000;
JSON
{
  "hex": "#397ac2",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 211.533,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57198,
    "c": 0.12985,
    "h": 253
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#397AC2
secondary
#CBAD8B
accent
#984ADE
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #397AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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