#395587#395587

#395587 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.089 H 261.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#395587
RGBrgb(57, 85, 135)
HSLhsl(218, 41%, 38%)
HSVhsv(218, 58%, 53%)
CMYKcmyk(57.8%, 37%, 0%, 47.1%)
CIE-LABlab(36.21, 5.44, -31.11)
CIE-LCHlch(36.21, 31.59, 279.92°)
OKLaboklab(45.17% -0.0134 -0.088)
OKLCHoklch(45.17% 0.089 261.3)
XYZxyz(9.3075, 9.1154, 24.1859)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395587 #876B39
analogous
#397C87 #395587 #443987
triadic
#395587 #873955 #558739
tetradic
#395587 #87397C #876B39 #398744
square
#395587 #87397C #876B39 #398744
split-complementary
#395587 #874439 #7C8739
monochromatic
#151F31 #273A5C #395587 #4B70B2 #7592C5

Accessibility & contrast

On white

7.44
#395587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#395587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395587
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395587#FFFFFF#000000##FFFFFF
##3955871.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#046067
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #395587;
/* rgb */ color: rgb(57, 85, 135);
/* oklch */ color: oklch(45.2% 0.089 261.3);
Tailwind
colors: {
  custom: {
    50: '#7684aa',
    500: '#395587',
    950: '#000000',
  },
}
SCSS
$custom: #395587;
$custom-light: #7684aa;
$custom-dark: #000000;
JSON
{
  "hex": "#395587",
  "rgb": {
    "r": 57,
    "g": 85,
    "b": 135
  },
  "hsl": {
    "h": 218.462,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.08902,
    "h": 261.3
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#395587
secondary
#AE976E
accent
#A557D0
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #395587

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

Preview Lab → · Contrast checker → · Palette generator →

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