#397FCC#397FCC

#397FCC is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 58.9% C 0.138 H 253.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#397FCC
RGBrgb(57, 127, 204)
HSLhsl(211, 59%, 51%)
HSVhsv(211, 72%, 80%)
CMYKcmyk(72.1%, 37.7%, 0%, 20%)
CIE-LABlab(52.29, 3.88, -46.21)
CIE-LCHlch(52.29, 46.38, 274.80°)
OKLaboklab(58.92% -0.0402 -0.1316)
OKLCHoklch(58.92% 0.138 253)
XYZxyz(20.1717, 20.4060, 59.9907)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FCC #CC8639
analogous
#39C8CC #397FCC #3C39CC
triadic
#397FCC #CC397F #7FCC39
tetradic
#397FCC #CC39C8 #CC8639 #39CC3C
square
#397FCC #CC39C8 #CC8639 #39CC3C
split-complementary
#397FCC #CC3C39 #C8CC39
monochromatic
#1C436E #29619F #397FCC #6A9ED9 #9ABEE5

Accessibility & contrast

On white

4.13
#397FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#397FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FCC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FCC#FFFFFF#000000##000000
##397FCC1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CF
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#00919C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #397fcc;
/* rgb */ color: rgb(57, 127, 204);
/* oklch */ color: oklch(58.9% 0.138 253.0);
Tailwind
colors: {
  custom: {
    50: '#81a3dc',
    500: '#397fcc',
    950: '#000000',
  },
}
SCSS
$custom: #397fcc;
$custom-light: #81a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#397fcc",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 211.429,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.13762,
    "h": 253
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#397FCC
secondary
#D1B290
accent
#9846E2
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #397FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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