#397A8A#397A8A

#397A8A is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.070 H 216.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#397A8A
RGBrgb(57, 122, 138)
HSLhsl(192, 42%, 38%)
HSVhsv(192, 59%, 54%)
CMYKcmyk(58.7%, 11.6%, 0%, 45.9%)
CIE-LABlab(47.78, -15.78, -14.98)
CIE-LCHlch(47.78, 21.76, 223.52°)
OKLaboklab(54.36% -0.0568 -0.0415)
OKLCHoklch(54.36% 0.07 216.2)
XYZxyz(13.2325, 16.6226, 26.5510)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A8A #8A4939
analogous
#398A71 #397A8A #39518A
triadic
#397A8A #8A397A #7A8A39
tetradic
#397A8A #71398A #8A4939 #518A39
square
#397A8A #71398A #8A4939 #518A39
split-complementary
#397A8A #8A3951 #8A7139
monochromatic
#152D33 #27545F #397A8A #4BA0B5 #77B7C7

Accessibility & contrast

On white

4.86
#397A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#397A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A8A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A8A#FFFFFF#000000##FFFFFF
##397A8A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F778B
Deuteranopia (green-blind)
#636D8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397a8a;
/* rgb */ color: rgb(57, 122, 138);
/* oklch */ color: oklch(54.4% 0.070 216.2);
Tailwind
colors: {
  custom: {
    50: '#77a0ac',
    500: '#397a8a',
    950: '#000000',
  },
}
SCSS
$custom: #397a8a;
$custom-light: #77a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#397a8a",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 191.852,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54362,
    "c": 0.07039,
    "h": 216.2
  },
  "luminance": 0.16624
}

Semantic roles & 50–950 ramp

primary
#397A8A
secondary
#B07C6F
accent
#6F56D1
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #397A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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