#395893#395893

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

Color values

HEX#395893
RGBrgb(57, 88, 147)
HSLhsl(219, 44%, 40%)
HSVhsv(219, 61%, 58%)
CMYKcmyk(61.2%, 40.1%, 0%, 42.4%)
CIE-LABlab(37.76, 7.74, -35.94)
CIE-LCHlch(37.76, 36.77, 282.15°)
OKLaboklab(46.59% -0.014 -0.1021)
OKLCHoklch(46.59% 0.103 262.2)
XYZxyz(10.4417, 9.9550, 28.9694)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395893 #937439
analogous
#398593 #395893 #473993
triadic
#395893 #933958 #589339
tetradic
#395893 #933985 #937439 #399347
square
#395893 #933985 #937439 #399347
split-complementary
#395893 #934739 #859339
monochromatic
#17233B #283E67 #395893 #4F74BB #7B97CC

Accessibility & contrast

On white

7.02
#395893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#395893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395893
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395893#FFFFFF#000000##FFFFFF
##3958931.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D95
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #395893;
/* rgb */ color: rgb(57, 88, 147);
/* oklch */ color: oklch(46.6% 0.103 262.2);
Tailwind
colors: {
  custom: {
    50: '#7786b3',
    500: '#395893',
    950: '#000000',
  },
}
SCSS
$custom: #395893;
$custom-light: #7786b3;
$custom-dark: #000000;
JSON
{
  "hex": "#395893",
  "rgb": {
    "r": 57,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 219.333,
    "s": 44.118,
    "l": 40
  },
  "oklch": {
    "l": 0.46591,
    "c": 0.10304,
    "h": 262.2
  },
  "luminance": 0.09956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #395893

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

Preview Lab → · Contrast checker → · Palette generator →

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