#395897#395897

#395897 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.8% C 0.109 H 263.1°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#395897
RGBrgb(57, 88, 151)
HSLhsl(220, 45%, 41%)
HSVhsv(220, 62%, 59%)
CMYKcmyk(62.3%, 41.7%, 0%, 40.8%)
CIE-LABlab(37.99, 9.17, -37.99)
CIE-LCHlch(37.99, 39.08, 283.57°)
OKLaboklab(46.84% -0.0131 -0.1081)
OKLCHoklch(46.84% 0.109 263.1)
XYZxyz(10.7610, 10.0827, 30.6512)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395897 #977839
analogous
#398797 #395897 #493997
triadic
#395897 #973958 #589739
tetradic
#395897 #973987 #977839 #399749
square
#395897 #973987 #977839 #399749
split-complementary
#395897 #974939 #879739
monochromatic
#17243E #283E6B #395897 #5074BD #7D97CE

Accessibility & contrast

On white

6.96
#395897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#395897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395897
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395897#FFFFFF#000000##FFFFFF
##3958971.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E99
Deuteranopia (green-blind)
#2F5596
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #395897;
/* rgb */ color: rgb(57, 88, 151);
/* oklch */ color: oklch(46.8% 0.109 263.1);
Tailwind
colors: {
  custom: {
    50: '#7886b6',
    500: '#395897',
    950: '#000000',
  },
}
SCSS
$custom: #395897;
$custom-light: #7886b6;
$custom-dark: #000000;
JSON
{
  "hex": "#395897",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 151
  },
  "hsl": {
    "h": 220.213,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.10887,
    "h": 263.1
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#395897
secondary
#B7A175
accent
#AA53D5
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B11
muted
#7C7C80

Preview Lab

Preview with #395897

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

Preview Lab → · Contrast checker → · Palette generator →

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