#396887#396887

#396887 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.7% C 0.072 H 239.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#396887
RGBrgb(57, 104, 135)
HSLhsl(204, 41%, 38%)
HSVhsv(204, 58%, 53%)
CMYKcmyk(57.8%, 23%, 0%, 47.1%)
CIE-LABlab(42.03, -6.40, -22.01)
CIE-LCHlch(42.03, 22.92, 253.80°)
OKLaboklab(49.74% -0.0365 -0.0615)
OKLCHoklch(49.74% 0.072 239.3)
XYZxyz(11.0092, 12.5188, 24.7532)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396887 #875839
analogous
#39877F #396887 #394187
triadic
#396887 #873968 #688739
tetradic
#396887 #7F3987 #875839 #418739
square
#396887 #7F3987 #875839 #418739
split-complementary
#396887 #873941 #877F39
monochromatic
#152631 #27475C #396887 #4B89B2 #75A5C5

Accessibility & contrast

On white

5.99
#396887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#396887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396887
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396887#FFFFFF#000000##FFFFFF
##3968871.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6888
Deuteranopia (green-blind)
#4F6086
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #396887;
/* rgb */ color: rgb(57, 104, 135);
/* oklch */ color: oklch(49.7% 0.072 239.3);
Tailwind
colors: {
  custom: {
    50: '#7693aa',
    500: '#396887',
    950: '#000000',
  },
}
SCSS
$custom: #396887;
$custom-light: #7693aa;
$custom-dark: #000000;
JSON
{
  "hex": "#396887",
  "rgb": {
    "r": 57,
    "g": 104,
    "b": 135
  },
  "hsl": {
    "h": 203.846,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49739,
    "c": 0.07157,
    "h": 239.3
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#396887
secondary
#AE876E
accent
#8757D0
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #396887

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

Preview Lab → · Contrast checker → · Palette generator →

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