#397BC5#397BC5

#397BC5 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.133 H 253.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#397BC5
RGBrgb(57, 123, 197)
HSLhsl(212, 55%, 50%)
HSVhsv(212, 71%, 77%)
CMYKcmyk(71.1%, 37.6%, 0%, 22.7%)
CIE-LABlab(50.76, 3.78, -44.65)
CIE-LCHlch(50.76, 44.81, 274.84°)
OKLaboklab(57.6% -0.0381 -0.1271)
OKLCHoklch(57.6% 0.133 253.3)
XYZxyz(18.8446, 19.0649, 55.4992)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BC5 #C58339
analogous
#39C1C5 #397BC5 #3D39C5
triadic
#397BC5 #C5397B #7BC539
tetradic
#397BC5 #C539C1 #C58339 #39C53D
square
#397BC5 #C539C1 #C58339 #39C53D
split-complementary
#397BC5 #C53D39 #C1C539
monochromatic
#1E4066 #2B5D96 #397BC5 #689BD3 #97BAE1

Accessibility & contrast

On white

4.36
#397BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#397BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397BC5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397BC5#FFFFFF#000000##000000
##397BC51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C8
Deuteranopia (green-blind)
#4473C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #397bc5;
/* rgb */ color: rgb(57, 123, 197);
/* oklch */ color: oklch(57.6% 0.133 253.3);
Tailwind
colors: {
  custom: {
    50: '#80a0d7',
    500: '#397bc5',
    950: '#000000',
  },
}
SCSS
$custom: #397bc5;
$custom-light: #80a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#397bc5",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 211.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57601,
    "c": 0.13271,
    "h": 253.3
  },
  "luminance": 0.19067
}

Semantic roles & 50–950 ramp

primary
#397BC5
secondary
#CDAF8D
accent
#9849DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #397BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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