#397FC8#397FC8

#397FC8 is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.133 H 251.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#397FC8
RGBrgb(57, 127, 200)
HSLhsl(211, 57%, 50%)
HSVhsv(211, 72%, 78%)
CMYKcmyk(71.5%, 36.5%, 0%, 21.6%)
CIE-LABlab(52.08, 2.44, -44.27)
CIE-LCHlch(52.08, 44.34, 273.15°)
OKLaboklab(58.68% -0.0412 -0.1259)
OKLCHoklch(58.68% 0.133 251.9)
XYZxyz(19.6982, 20.2166, 57.4964)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FC8 #C88239
analogous
#39C7C8 #397FC8 #3A39C8
triadic
#397FC8 #C8397F #7FC839
tetradic
#397FC8 #C839C7 #C88239 #39C83A
square
#397FC8 #C839C7 #C88239 #39C83A
split-complementary
#397FC8 #C83A39 #C7C839
monochromatic
#1D4369 #2B6199 #397FC8 #699ED5 #99BDE3

Accessibility & contrast

On white

4.16
#397FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#397FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FC8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FC8#FFFFFF#000000##000000
##397FC81.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E84CB
Deuteranopia (green-blind)
#4976C7
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #397fc8;
/* rgb */ color: rgb(57, 127, 200);
/* oklch */ color: oklch(58.7% 0.133 251.9);
Tailwind
colors: {
  custom: {
    50: '#81a3d9',
    500: '#397fc8',
    950: '#000000',
  },
}
SCSS
$custom: #397fc8;
$custom-light: #81a3d9;
$custom-dark: #000000;
JSON
{
  "hex": "#397fc8",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 200
  },
  "hsl": {
    "h": 210.629,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58684,
    "c": 0.13251,
    "h": 251.9
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#397FC8
secondary
#CEAF8F
accent
#9548E0
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #397FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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