#395087#395087

#395087 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.095 H 265.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#395087
RGBrgb(57, 80, 135)
HSLhsl(222, 41%, 38%)
HSVhsv(222, 58%, 53%)
CMYKcmyk(57.8%, 40.7%, 0%, 47.1%)
CIE-LABlab(34.71, 8.69, -33.48)
CIE-LCHlch(34.71, 34.59, 284.56°)
OKLaboklab(44.01% -0.0074 -0.095)
OKLCHoklch(44.01% 0.095 265.5)
XYZxyz(8.9277, 8.3558, 24.0593)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395087 #877039
analogous
#397787 #395087 #493987
triadic
#395087 #873950 #508739
tetradic
#395087 #873977 #877039 #398749
square
#395087 #873977 #877039 #398749
split-complementary
#395087 #874939 #778739
monochromatic
#151D31 #27365C #395087 #4B69B2 #758DC5

Accessibility & contrast

On white

7.86
#395087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#395087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395087
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395087#FFFFFF#000000##FFFFFF
##3950871.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395589
Deuteranopia (green-blind)
#2F4E86
Tritanopia (blue-blind)
#065C65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #395087;
/* rgb */ color: rgb(57, 80, 135);
/* oklch */ color: oklch(44.0% 0.095 265.5);
Tailwind
colors: {
  custom: {
    50: '#7680aa',
    500: '#395087',
    950: '#000000',
  },
}
SCSS
$custom: #395087;
$custom-light: #7680aa;
$custom-dark: #000000;
JSON
{
  "hex": "#395087",
  "rgb": {
    "r": 57,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 222.308,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44012,
    "c": 0.09524,
    "h": 265.5
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#395087
secondary
#AE9B6E
accent
#AD57D0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #395087

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

Preview Lab → · Contrast checker → · Palette generator →

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