#395790#395790

#395790 is a mid, moderate blue. Relative luminance 0.097; OKLCH L 46.2% C 0.100 H 262.2°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#395790
RGBrgb(57, 87, 144)
HSLhsl(219, 43%, 39%)
HSVhsv(219, 60%, 56%)
CMYKcmyk(60.4%, 39.6%, 0%, 43.5%)
CIE-LABlab(37.30, 7.32, -34.86)
CIE-LCHlch(37.30, 35.62, 281.85°)
OKLaboklab(46.18% -0.0136 -0.0989)
OKLCHoklch(46.18% 0.1 262.2)
XYZxyz(10.1278, 9.6990, 27.7185)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395790 #907239
analogous
#398390 #395790 #463990
triadic
#395790 #903957 #579039
tetradic
#395790 #903983 #907239 #399046
square
#395790 #903983 #907239 #399046
split-complementary
#395790 #904639 #839039
monochromatic
#162238 #283D64 #395790 #4D72B9 #7995CA

Accessibility & contrast

On white

7.14
#395790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#395790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395790
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395790#FFFFFF#000000##FFFFFF
##3957901.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#33548F
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #395790;
/* rgb */ color: rgb(57, 87, 144);
/* oklch */ color: oklch(46.2% 0.100 262.2);
Tailwind
colors: {
  custom: {
    50: '#7786b1',
    500: '#395790',
    950: '#000000',
  },
}
SCSS
$custom: #395790;
$custom-light: #7786b1;
$custom-dark: #000000;
JSON
{
  "hex": "#395790",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 144
  },
  "hsl": {
    "h": 219.31,
    "s": 43.284,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.09987,
    "h": 262.2
  },
  "luminance": 0.097
}

Semantic roles & 50–950 ramp

primary
#395790
secondary
#B39D71
accent
#A755D3
background
#F7F8FA
surface
#EEEFF5
border
#C9CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #395790

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

Preview Lab → · Contrast checker → · Palette generator →

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