#396987#396987

#396987 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.0% C 0.071 H 237.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#396987
RGBrgb(57, 105, 135)
HSLhsl(203, 41%, 38%)
HSVhsv(203, 58%, 53%)
CMYKcmyk(57.8%, 22.2%, 0%, 47.1%)
CIE-LABlab(42.34, -6.99, -21.53)
CIE-LCHlch(42.34, 22.64, 252.01°)
OKLaboklab(49.99% -0.0377 -0.0601)
OKLCHoklch(49.99% 0.071 237.9)
XYZxyz(11.1105, 12.7213, 24.7869)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396987 #875739
analogous
#39877E #396987 #394287
triadic
#396987 #873969 #698739
tetradic
#396987 #7E3987 #875739 #428739
square
#396987 #7E3987 #875739 #428739
split-complementary
#396987 #873942 #877E39
monochromatic
#152631 #27485C #396987 #4B8AB2 #75A6C5

Accessibility & contrast

On white

5.92
#396987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#396987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396987
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396987#FFFFFF#000000##FFFFFF
##3969871.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6888
Deuteranopia (green-blind)
#516086
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #396987;
/* rgb */ color: rgb(57, 105, 135);
/* oklch */ color: oklch(50.0% 0.071 237.9);
Tailwind
colors: {
  custom: {
    50: '#7693aa',
    500: '#396987',
    950: '#000000',
  },
}
SCSS
$custom: #396987;
$custom-light: #7693aa;
$custom-dark: #000000;
JSON
{
  "hex": "#396987",
  "rgb": {
    "r": 57,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 203.077,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.07101,
    "h": 237.9
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#396987
secondary
#AE866E
accent
#8657D0
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #396987

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

Preview Lab → · Contrast checker → · Palette generator →

#396987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva