#397FAC#397FAC

#397FAC is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.099 H 239.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#397FAC
RGBrgb(57, 127, 172)
HSLhsl(203, 50%, 45%)
HSVhsv(203, 67%, 67%)
CMYKcmyk(66.9%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.72, -7.41, -30.34)
CIE-LCHlch(50.72, 31.23, 256.27°)
OKLaboklab(57.16% -0.0495 -0.0854)
OKLCHoklch(57.16% 0.099 239.9)
XYZxyz(16.7203, 19.0254, 41.8128)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FAC #AC6639
analogous
#39AC9F #397FAC #3946AC
triadic
#397FAC #AC397F #7FAC39
tetradic
#397FAC #9F39AC #AC6639 #46AC39
square
#397FAC #9F39AC #AC6639 #46AC39
split-complementary
#397FAC #AC3946 #AC9F39
monochromatic
#1B3B50 #2A5D7E #397FAC #5A9DC8 #88B8D8

Accessibility & contrast

On white

4.37
#397FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##397FAC#FFFFFF#000000##000000
##397FAC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #397fac;
/* rgb */ color: rgb(57, 127, 172);
/* oklch */ color: oklch(57.2% 0.099 239.9);
Tailwind
colors: {
  custom: {
    50: '#7ca4c5',
    500: '#397fac',
    950: '#000000',
  },
}
SCSS
$custom: #397fac;
$custom-light: #7ca4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#397fac",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 203.478,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57162,
    "c": 0.0987,
    "h": 239.9
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#397FAC
secondary
#C2997F
accent
#854EDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #397FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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