#397F9C#397F9C

#397F9C is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.083 H 228.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#397F9C
RGBrgb(57, 127, 156)
HSLhsl(198, 46%, 42%)
HSVhsv(198, 63%, 61%)
CMYKcmyk(63.5%, 18.6%, 0%, 38.8%)
CIE-LABlab(50.03, -12.79, -22.10)
CIE-LCHlch(50.03, 25.53, 239.95°)
OKLaboklab(56.39% -0.0553 -0.0617)
OKLCHoklch(56.39% 0.083 228.1)
XYZxyz(15.2751, 18.4474, 34.2017)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F9C #9C5639
analogous
#399C88 #397F9C #394E9C
triadic
#397F9C #9C397F #7F9C39
tetradic
#397F9C #88399C #9C5639 #4E9C39
square
#397F9C #88399C #9C5639 #4E9C39
split-complementary
#397F9C #9C394E #9C8839
monochromatic
#183642 #295B6F #397F9C #52A0C0 #7FB9D0

Accessibility & contrast

On white

4.48
#397F9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#397F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397F9C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F9C#FFFFFF#000000##000000
##397F9C1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#707D9D
Deuteranopia (green-blind)
#62739C
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #397f9c;
/* rgb */ color: rgb(57, 127, 156);
/* oklch */ color: oklch(56.4% 0.083 228.1);
Tailwind
colors: {
  custom: {
    50: '#7aa4b9',
    500: '#397f9c',
    950: '#000000',
  },
}
SCSS
$custom: #397f9c;
$custom-light: #7aa4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#397f9c",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 156
  },
  "hsl": {
    "h": 197.576,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56394,
    "c": 0.08285,
    "h": 228.1
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#397F9C
secondary
#BA8B77
accent
#7852D6
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #397F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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