#397B8D#397B8D

#397B8D is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.7% C 0.072 H 218.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#397B8D
RGBrgb(57, 123, 141)
HSLhsl(193, 42%, 39%)
HSVhsv(193, 60%, 55%)
CMYKcmyk(59.6%, 12.8%, 0%, 44.7%)
CIE-LABlab(48.21, -15.39, -16.11)
CIE-LCHlch(48.21, 22.27, 226.31°)
OKLaboklab(54.74% -0.0567 -0.0447)
OKLCHoklch(54.74% 0.072 218.2)
XYZxyz(13.5761, 16.9575, 27.7518)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B8D #8D4B39
analogous
#398D75 #397B8D #39518D
triadic
#397B8D #8D397B #7B8D39
tetradic
#397B8D #75398D #8D4B39 #518D39
square
#397B8D #75398D #8D4B39 #518D39
split-complementary
#397B8D #8D3951 #8D7539
monochromatic
#162F36 #275561 #397B8D #4CA0B7 #78B7C8

Accessibility & contrast

On white

4.78
#397B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#397B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B8D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B8D#FFFFFF#000000##FFFFFF
##397B8D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F788E
Deuteranopia (green-blind)
#636E8D
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #397b8d;
/* rgb */ color: rgb(57, 123, 141);
/* oklch */ color: oklch(54.7% 0.072 218.2);
Tailwind
colors: {
  custom: {
    50: '#78a1ae',
    500: '#397b8d',
    950: '#000000',
  },
}
SCSS
$custom: #397b8d;
$custom-light: #78a1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#397b8d",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 141
  },
  "hsl": {
    "h": 192.857,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.07222,
    "h": 218.2
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#397B8D
secondary
#B27E70
accent
#7056D2
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #397B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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