#395989#395989

#395989 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.2% C 0.087 H 258.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#395989
RGBrgb(57, 89, 137)
HSLhsl(216, 41%, 38%)
HSVhsv(216, 58%, 54%)
CMYKcmyk(58.4%, 35%, 0%, 46.3%)
CIE-LABlab(37.52, 3.57, -30.27)
CIE-LCHlch(37.52, 30.48, 276.72°)
OKLaboklab(46.22% -0.0177 -0.0855)
OKLCHoklch(46.22% 0.087 258.3)
XYZxyz(9.7735, 9.8200, 25.0425)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395989 #896939
analogous
#398189 #395989 #413989
triadic
#395989 #893959 #598939
tetradic
#395989 #893981 #896939 #398941
square
#395989 #893981 #896939 #398941
split-complementary
#395989 #894139 #818939
monochromatic
#152133 #273D5E #395989 #4B75B4 #7696C6

Accessibility & contrast

On white

7.08
#395989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#395989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395989
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395989#FFFFFF#000000##FFFFFF
##3959891.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8B
Deuteranopia (green-blind)
#3B5588
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #395989;
/* rgb */ color: rgb(57, 89, 137);
/* oklch */ color: oklch(46.2% 0.087 258.3);
Tailwind
colors: {
  custom: {
    50: '#7687ab',
    500: '#395989',
    950: '#000000',
  },
}
SCSS
$custom: #395989;
$custom-light: #7687ab;
$custom-dark: #000000;
JSON
{
  "hex": "#395989",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 216,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.08731,
    "h": 258.3
  },
  "luminance": 0.09821
}

Semantic roles & 50–950 ramp

primary
#395989
secondary
#AF956F
accent
#A057D1
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #395989

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

Preview Lab → · Contrast checker → · Palette generator →

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