#395988#395988

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

Color values

HEX#395988
RGBrgb(57, 89, 136)
HSLhsl(216, 41%, 38%)
HSVhsv(216, 58%, 53%)
CMYKcmyk(58.1%, 34.6%, 0%, 46.7%)
CIE-LABlab(37.47, 3.22, -29.74)
CIE-LCHlch(37.47, 29.91, 276.18°)
OKLaboklab(46.17% -0.018 -0.084)
OKLCHoklch(46.17% 0.086 257.9)
XYZxyz(9.7021, 9.7914, 24.6664)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395988 #886839
analogous
#398188 #395988 #403988
triadic
#395988 #883959 #598839
tetradic
#395988 #883981 #886839 #398840
square
#395988 #883981 #886839 #398840
split-complementary
#395988 #884039 #818839
monochromatic
#152132 #273D5D #395988 #4B75B3 #7696C6

Accessibility & contrast

On white

7.10
#395988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #395988
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395988#FFFFFF#000000##FFFFFF
##3959881.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465C8A
Deuteranopia (green-blind)
#3C5587
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #395988;
/* rgb */ color: rgb(57, 89, 136);
/* oklch */ color: oklch(46.2% 0.086 257.9);
Tailwind
colors: {
  custom: {
    50: '#7687ab',
    500: '#395988',
    950: '#000000',
  },
}
SCSS
$custom: #395988;
$custom-light: #7687ab;
$custom-dark: #000000;
JSON
{
  "hex": "#395988",
  "rgb": {
    "r": 57,
    "g": 89,
    "b": 136
  },
  "hsl": {
    "h": 215.696,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46166,
    "c": 0.08587,
    "h": 257.9
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#395988
secondary
#AF956E
accent
#9F57D1
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #395988

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

Preview Lab → · Contrast checker → · Palette generator →

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