#397F9F#397F9F

#397F9F is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.5% C 0.086 H 230.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#397F9F
RGBrgb(57, 127, 159)
HSLhsl(199, 47%, 42%)
HSVhsv(199, 64%, 62%)
CMYKcmyk(64.2%, 20.1%, 0%, 37.6%)
CIE-LABlab(50.16, -11.80, -23.66)
CIE-LCHlch(50.16, 26.44, 243.50°)
OKLaboklab(56.53% -0.0541 -0.0662)
OKLCHoklch(56.53% 0.086 230.7)
XYZxyz(15.5323, 18.5502, 35.5562)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F9F #9F5939
analogous
#399F8C #397F9F #394C9F
triadic
#397F9F #9F397F #7F9F39
tetradic
#397F9F #8C399F #9F5939 #4C9F39
square
#397F9F #8C399F #9F5939 #4C9F39
split-complementary
#397F9F #9F394C #9F8C39
monochromatic
#193745 #295B72 #397F9F #549FC2 #81B8D2

Accessibility & contrast

On white

4.46
#397F9F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#397F9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397F9F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F9F#FFFFFF#000000##000000
##397F9F1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7DA1
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #397f9f;
/* rgb */ color: rgb(57, 127, 159);
/* oklch */ color: oklch(56.5% 0.086 230.7);
Tailwind
colors: {
  custom: {
    50: '#7aa4bb',
    500: '#397f9f',
    950: '#000000',
  },
}
SCSS
$custom: #397f9f;
$custom-light: #7aa4bb;
$custom-dark: #000000;
JSON
{
  "hex": "#397f9f",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 159
  },
  "hsl": {
    "h": 198.824,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56532,
    "c": 0.0855,
    "h": 230.7
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#397F9F
secondary
#BB8D78
accent
#7B51D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #397F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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