#392795#392795

#392795 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.169 H 281.9°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#392795
RGBrgb(57, 39, 149)
HSLhsl(250, 59%, 37%)
HSVhsv(250, 74%, 58%)
CMYKcmyk(61.7%, 73.8%, 0%, 41.6%)
CIE-LABlab(25.23, 39.90, -57.42)
CIE-LCHlch(25.23, 69.92, 304.79°)
OKLaboklab(37.28% 0.0348 -0.1655)
OKLCHoklch(37.28% 0.169 281.9)
XYZxyz(7.8360, 4.4903, 28.8817)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392795 #839527
analogous
#274C95 #392795 #702795
triadic
#392795 #953927 #279539
tetradic
#392795 #95274C #839527 #279570
square
#392795 #95274C #839527 #279570
split-complementary
#392795 #957027 #4C9527
monochromatic
#140E34 #261A64 #392795 #4C34C6 #7461D6

Accessibility & contrast

On white

11.06
#392795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#392795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392795
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392795#FFFFFF#000000##FFFFFF
##3927951.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #392795;
/* rgb */ color: rgb(57, 39, 149);
/* oklch */ color: oklch(37.3% 0.169 281.9);
Tailwind
colors: {
  custom: {
    50: '#7b63b5',
    500: '#392795',
    950: '#000000',
  },
}
SCSS
$custom: #392795;
$custom-light: #7b63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392795",
  "rgb": {
    "r": 57,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 249.818,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37284,
    "c": 0.16914,
    "h": 281.9
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#392795
secondary
#ACBB5D
accent
#E246C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #392795

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

Preview Lab → · Contrast checker → · Palette generator →

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