#397FA7#397FA7

#397FA7 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.093 H 236.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#397FA7
RGBrgb(57, 127, 167)
HSLhsl(202, 49%, 44%)
HSVhsv(202, 66%, 65%)
CMYKcmyk(65.9%, 24%, 0%, 34.5%)
CIE-LABlab(50.50, -9.12, -27.79)
CIE-LCHlch(50.50, 29.25, 251.84°)
OKLaboklab(56.91% -0.0512 -0.078)
OKLCHoklch(56.91% 0.093 236.7)
XYZxyz(16.2491, 18.8369, 39.3313)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FA7 #A76139
analogous
#39A798 #397FA7 #3948A7
triadic
#397FA7 #A7397F #7FA739
tetradic
#397FA7 #9839A7 #A76139 #48A739
square
#397FA7 #9839A7 #A76139 #48A739
split-complementary
#397FA7 #A73948 #A79839
monochromatic
#1A3A4C #295C79 #397FA7 #579EC6 #85B8D5

Accessibility & contrast

On white

4.40
#397FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#397FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FA7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FA7#FFFFFF#000000##000000
##397FA71.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA9
Deuteranopia (green-blind)
#5D73A6
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #397fa7;
/* rgb */ color: rgb(57, 127, 167);
/* oklch */ color: oklch(56.9% 0.093 236.7);
Tailwind
colors: {
  custom: {
    50: '#7ba4c1',
    500: '#397fa7',
    950: '#000000',
  },
}
SCSS
$custom: #397fa7;
$custom-light: #7ba4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#397fa7",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 201.818,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56914,
    "c": 0.09333,
    "h": 236.7
  },
  "luminance": 0.18839
}

Semantic roles & 50–950 ramp

primary
#397FA7
secondary
#BF957D
accent
#814FD9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #397FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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