#395986#395986

#395986 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.1% C 0.083 H 257.0°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#395986
RGBrgb(57, 89, 134)
HSLhsl(215, 40%, 37%)
HSVhsv(215, 57%, 53%)
CMYKcmyk(57.5%, 33.6%, 0%, 47.5%)
CIE-LABlab(37.36, 2.53, -28.68)
CIE-LCHlch(37.36, 28.79, 275.04°)
OKLaboklab(46.05% -0.0186 -0.0809)
OKLCHoklch(46.05% 0.083 257)
XYZxyz(9.5613, 9.7351, 23.9248)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395986 #866639
analogous
#397F86 #395986 #403986
triadic
#395986 #863959 #598639
tetradic
#395986 #86397F #866639 #398640
square
#395986 #86397F #866639 #398640
split-complementary
#395986 #864039 #7F8639
monochromatic
#142030 #273C5B #395986 #4B76B1 #7596C4

Accessibility & contrast

On white

7.13
#395986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #395986
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395986#FFFFFF#000000##FFFFFF
##3959861.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475C88
Deuteranopia (green-blind)
#3D5585
Tritanopia (blue-blind)
#046369
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #395986;
/* rgb */ color: rgb(57, 89, 134);
/* oklch */ color: oklch(46.1% 0.083 257.0);
Tailwind
colors: {
  custom: {
    50: '#7587a9',
    500: '#395986',
    950: '#000000',
  },
}
SCSS
$custom: #395986;
$custom-light: #7587a9;
$custom-dark: #000000;
JSON
{
  "hex": "#395986",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 134
  },
  "hsl": {
    "h": 215.065,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46052,
    "c": 0.08299,
    "h": 257
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#395986
secondary
#AD936D
accent
#9E58D0
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #395986

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

Preview Lab → · Contrast checker → · Palette generator →

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