#397E9D#397E9D

#397E9D is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.084 H 230.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#397E9D
RGBrgb(57, 126, 157)
HSLhsl(199, 47%, 42%)
HSVhsv(199, 64%, 62%)
CMYKcmyk(63.7%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.77, -11.89, -23.10)
CIE-LCHlch(49.77, 25.98, 242.75°)
OKLaboklab(56.19% -0.0538 -0.0646)
OKLCHoklch(56.19% 0.084 230.2)
XYZxyz(15.2316, 18.2243, 34.6067)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E9D #9D5839
analogous
#399D8A #397E9D #394C9D
triadic
#397E9D #9D397E #7E9D39
tetradic
#397E9D #8A399D #9D5839 #4C9D39
square
#397E9D #8A399D #9D5839 #4C9D39
split-complementary
#397E9D #9D394C #9D8A39
monochromatic
#183643 #295A70 #397E9D #539EC0 #80B8D1

Accessibility & contrast

On white

4.52
#397E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#397E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397E9D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E9D#FFFFFF#000000##000000
##397E9D1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7C9F
Deuteranopia (green-blind)
#60729D
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #397e9d;
/* rgb */ color: rgb(57, 126, 157);
/* oklch */ color: oklch(56.2% 0.084 230.2);
Tailwind
colors: {
  custom: {
    50: '#7aa3ba',
    500: '#397e9d',
    950: '#000000',
  },
}
SCSS
$custom: #397e9d;
$custom-light: #7aa3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#397e9d",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 198.6,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.56195,
    "c": 0.08403,
    "h": 230.2
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#397E9D
secondary
#BA8C78
accent
#7B51D6
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #397E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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