#395795#395795

#395795 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.107 H 263.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#395795
RGBrgb(57, 87, 149)
HSLhsl(220, 45%, 40%)
HSVhsv(220, 62%, 58%)
CMYKcmyk(61.7%, 41.6%, 0%, 41.6%)
CIE-LABlab(37.58, 9.10, -37.44)
CIE-LCHlch(37.58, 38.53, 283.66°)
OKLaboklab(46.49% -0.0124 -0.1065)
OKLCHoklch(46.49% 0.107 263.3)
XYZxyz(10.5185, 9.8553, 29.7759)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395795 #957739
analogous
#398595 #395795 #493995
triadic
#395795 #953957 #579539
tetradic
#395795 #953985 #957739 #399549
square
#395795 #953985 #957739 #399549
split-complementary
#395795 #954939 #859539
monochromatic
#17233C #283D69 #395795 #4F73BC #7C96CD

Accessibility & contrast

On white

7.07
#395795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#395795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395795
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395795#FFFFFF#000000##FFFFFF
##3957951.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D97
Deuteranopia (green-blind)
#2F5594
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #395795;
/* rgb */ color: rgb(57, 87, 149);
/* oklch */ color: oklch(46.5% 0.107 263.3);
Tailwind
colors: {
  custom: {
    50: '#7886b4',
    500: '#395795',
    950: '#000000',
  },
}
SCSS
$custom: #395795;
$custom-light: #7886b4;
$custom-dark: #000000;
JSON
{
  "hex": "#395795",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 149
  },
  "hsl": {
    "h": 220.435,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.10718,
    "h": 263.3
  },
  "luminance": 0.09856
}

Semantic roles & 50–950 ramp

primary
#395795
secondary
#B6A074
accent
#AA53D4
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #395795

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

Preview Lab → · Contrast checker → · Palette generator →

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