#395894#395894

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

Color values

HEX#395894
RGBrgb(57, 88, 148)
HSLhsl(220, 44%, 40%)
HSVhsv(220, 61%, 58%)
CMYKcmyk(61.5%, 40.5%, 0%, 42%)
CIE-LABlab(37.82, 8.09, -36.46)
CIE-LCHlch(37.82, 37.34, 282.52°)
OKLaboklab(46.65% -0.0138 -0.1036)
OKLCHoklch(46.65% 0.104 262.4)
XYZxyz(10.5205, 9.9865, 29.3844)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395894 #947539
analogous
#398694 #395894 #473994
triadic
#395894 #943958 #589439
tetradic
#395894 #943986 #947539 #399447
square
#395894 #943986 #947539 #399447
split-complementary
#395894 #944739 #869439
monochromatic
#17233C #283E68 #395894 #4F74BB #7B97CC

Accessibility & contrast

On white

7.01
#395894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #395894
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395894#FFFFFF#000000##FFFFFF
##3958941.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E96
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #395894;
/* rgb */ color: rgb(57, 88, 148);
/* oklch */ color: oklch(46.7% 0.104 262.4);
Tailwind
colors: {
  custom: {
    50: '#7886b4',
    500: '#395894',
    950: '#000000',
  },
}
SCSS
$custom: #395894;
$custom-light: #7886b4;
$custom-dark: #000000;
JSON
{
  "hex": "#395894",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 219.56,
    "s": 44.39,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46653,
    "c": 0.10449,
    "h": 262.4
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#395894
secondary
#B69F73
accent
#A854D4
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #395894

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

Preview Lab → · Contrast checker → · Palette generator →

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