#397DCA#397DCA

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

Color values

HEX#397DCA
RGBrgb(57, 125, 202)
HSLhsl(212, 58%, 51%)
HSVhsv(212, 72%, 79%)
CMYKcmyk(71.8%, 38.1%, 0%, 20.8%)
CIE-LABlab(51.61, 4.37, -46.16)
CIE-LCHlch(51.61, 46.37, 275.41°)
OKLaboklab(58.35% -0.0388 -0.1315)
OKLCHoklch(58.35% 0.137 253.6)
XYZxyz(19.6777, 19.7992, 58.6502)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397DCA #CA8639
analogous
#39C5CA #397DCA #3D39CA
triadic
#397DCA #CA397D #7DCA39
tetradic
#397DCA #CA39C5 #CA8639 #39CA3D
square
#397DCA #CA39C5 #CA8639 #39CA3D
split-complementary
#397DCA #CA3D39 #C5CA39
monochromatic
#1D426C #2A5F9C #397DCA #699DD7 #9ABCE4

Accessibility & contrast

On white

4.23
#397DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##397DCA#FFFFFF#000000##000000
##397DCA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CD
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #397dca;
/* rgb */ color: rgb(57, 125, 202);
/* oklch */ color: oklch(58.4% 0.137 253.6);
Tailwind
colors: {
  custom: {
    50: '#81a2da',
    500: '#397dca',
    950: '#000000',
  },
}
SCSS
$custom: #397dca;
$custom-light: #81a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#397dca",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 211.862,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5835,
    "c": 0.13711,
    "h": 253.6
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#397DCA
secondary
#D0B18F
accent
#9947E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #397DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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