#395895#395895

#395895 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.7% C 0.106 H 262.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#395895
RGBrgb(57, 88, 149)
HSLhsl(220, 45%, 40%)
HSVhsv(220, 62%, 58%)
CMYKcmyk(61.7%, 40.9%, 0%, 41.6%)
CIE-LABlab(37.88, 8.45, -36.97)
CIE-LCHlch(37.88, 37.92, 282.88°)
OKLaboklab(46.72% -0.0136 -0.1051)
OKLCHoklch(46.72% 0.106 262.6)
XYZxyz(10.6000, 10.0183, 29.8031)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395895 #957639
analogous
#398695 #395895 #483995
triadic
#395895 #953958 #589539
tetradic
#395895 #953986 #957639 #399548
square
#395895 #953986 #957639 #399548
split-complementary
#395895 #954839 #869539
monochromatic
#17243C #283E69 #395895 #4F74BC #7C97CD

Accessibility & contrast

On white

6.99
#395895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#395895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #395895
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395895#FFFFFF#000000##FFFFFF
##3958951.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E97
Deuteranopia (green-blind)
#315594
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #395895;
/* rgb */ color: rgb(57, 88, 149);
/* oklch */ color: oklch(46.7% 0.106 262.6);
Tailwind
colors: {
  custom: {
    50: '#7886b4',
    500: '#395895',
    950: '#000000',
  },
}
SCSS
$custom: #395895;
$custom-light: #7886b4;
$custom-dark: #000000;
JSON
{
  "hex": "#395895",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 149
  },
  "hsl": {
    "h": 219.783,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46716,
    "c": 0.10595,
    "h": 262.6
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #395895

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

Preview Lab → · Contrast checker → · Palette generator →

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