#395987#395987

#395987 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.1% C 0.084 H 257.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#395987
RGBrgb(57, 89, 135)
HSLhsl(215, 41%, 38%)
HSVhsv(215, 58%, 53%)
CMYKcmyk(57.8%, 34.1%, 0%, 47.1%)
CIE-LABlab(37.41, 2.87, -29.21)
CIE-LCHlch(37.41, 29.35, 275.62°)
OKLaboklab(46.11% -0.0183 -0.0824)
OKLCHoklch(46.11% 0.084 257.5)
XYZxyz(9.6314, 9.7631, 24.2939)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395987 #876739
analogous
#398087 #395987 #403987
triadic
#395987 #873959 #598739
tetradic
#395987 #873980 #876739 #398740
square
#395987 #873980 #876739 #398740
split-complementary
#395987 #874039 #808739
monochromatic
#152031 #273D5C #395987 #4B75B2 #7596C5

Accessibility & contrast

On white

7.11
#395987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#395987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395987
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395987#FFFFFF#000000##FFFFFF
##3959871.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C89
Deuteranopia (green-blind)
#3C5586
Tritanopia (blue-blind)
#01636A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #395987;
/* rgb */ color: rgb(57, 89, 135);
/* oklch */ color: oklch(46.1% 0.084 257.5);
Tailwind
colors: {
  custom: {
    50: '#7687aa',
    500: '#395987',
    950: '#000000',
  },
}
SCSS
$custom: #395987;
$custom-light: #7687aa;
$custom-dark: #000000;
JSON
{
  "hex": "#395987",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 215.385,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46109,
    "c": 0.08443,
    "h": 257.5
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#395987
secondary
#AE946E
accent
#9F57D0
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #395987

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

Preview Lab → · Contrast checker → · Palette generator →

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