#397FAB#397FAB

#397FAB is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.098 H 239.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#397FAB
RGBrgb(57, 127, 171)
HSLhsl(203, 50%, 45%)
HSVhsv(203, 67%, 67%)
CMYKcmyk(66.7%, 25.7%, 0%, 32.9%)
CIE-LABlab(50.67, -7.76, -29.83)
CIE-LCHlch(50.67, 30.83, 255.43°)
OKLaboklab(57.11% -0.0498 -0.0839)
OKLCHoklch(57.11% 0.098 239.3)
XYZxyz(16.6246, 18.9871, 41.3089)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FAB #AB6539
analogous
#39AB9E #397FAB #3946AB
triadic
#397FAB #AB397F #7FAB39
tetradic
#397FAB #9E39AB #AB6539 #46AB39
square
#397FAB #9E39AB #AB6539 #46AB39
split-complementary
#397FAB #AB3946 #AB9E39
monochromatic
#1A3B4F #2A5D7D #397FAB #599DC8 #87B8D7

Accessibility & contrast

On white

4.38
#397FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#397FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FAB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FAB#FFFFFF#000000##000000
##397FAB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397fab;
/* rgb */ color: rgb(57, 127, 171);
/* oklch */ color: oklch(57.1% 0.098 239.3);
Tailwind
colors: {
  custom: {
    50: '#7ca4c4',
    500: '#397fab',
    950: '#000000',
  },
}
SCSS
$custom: #397fab;
$custom-light: #7ca4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#397fab",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 171
  },
  "hsl": {
    "h": 203.158,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.0976,
    "h": 239.3
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

primary
#397FAB
secondary
#C1987F
accent
#844EDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #397FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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