#397F9D#397F9D

#397F9D is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.084 H 229.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#397F9D
RGBrgb(57, 127, 157)
HSLhsl(198, 47%, 42%)
HSVhsv(198, 64%, 62%)
CMYKcmyk(63.7%, 19.1%, 0%, 38.4%)
CIE-LABlab(50.07, -12.46, -22.62)
CIE-LCHlch(50.07, 25.83, 241.16°)
OKLaboklab(56.44% -0.0549 -0.0632)
OKLCHoklch(56.44% 0.084 229)
XYZxyz(15.3601, 18.4814, 34.6495)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F9D #9D5739
analogous
#399D89 #397F9D #394D9D
triadic
#397F9D #9D397F #7F9D39
tetradic
#397F9D #89399D #9D5739 #4D9D39
square
#397F9D #89399D #9D5739 #4D9D39
split-complementary
#397F9D #9D394D #9D8939
monochromatic
#183643 #295B70 #397F9D #53A0C0 #80B8D1

Accessibility & contrast

On white

4.47
#397F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#397F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397F9D
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F9D#FFFFFF#000000##000000
##397F9D1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#707D9F
Deuteranopia (green-blind)
#61739D
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #397f9d;
/* rgb */ color: rgb(57, 127, 157);
/* oklch */ color: oklch(56.4% 0.084 229.0);
Tailwind
colors: {
  custom: {
    50: '#7aa4ba',
    500: '#397f9d',
    950: '#000000',
  },
}
SCSS
$custom: #397f9d;
$custom-light: #7aa4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#397f9d",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 198,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5644,
    "c": 0.08372,
    "h": 229
  },
  "luminance": 0.18483
}

Semantic roles & 50–950 ramp

primary
#397F9D
secondary
#BA8C78
accent
#7951D6
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #397F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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