#393892#393892

#393892 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.144 H 278.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#393892
RGBrgb(57, 56, 146)
HSLhsl(241, 45%, 40%)
HSVhsv(241, 62%, 57%)
CMYKcmyk(61%, 61.6%, 0%, 42.7%)
CIE-LABlab(28.83, 28.48, -49.68)
CIE-LCHlch(28.83, 57.27, 299.82°)
OKLaboklab(39.81% 0.0203 -0.1428)
OKLCHoklch(39.81% 0.144 278.1)
XYZxyz(8.2882, 5.7729, 27.8661)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393892 #919238
analogous
#386492 #393892 #663892
triadic
#393892 #923938 #389239
tetradic
#393892 #923864 #919238 #389266
square
#393892 #923864 #919238 #389266
split-complementary
#393892 #926638 #649238
monochromatic
#16163A #282766 #393892 #4E4DBB #7A79CC

Accessibility & contrast

On white

9.75
#393892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#393892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393892
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393892#FFFFFF#000000##FFFFFF
##3938921.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #393892;
/* rgb */ color: rgb(57, 56, 146);
/* oklch */ color: oklch(39.8% 0.144 278.1);
Tailwind
colors: {
  custom: {
    50: '#796fb3',
    500: '#393892',
    950: '#000000',
  },
}
SCSS
$custom: #393892;
$custom-light: #796fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#393892",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 240.667,
    "s": 44.554,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.14426,
    "h": 278.1
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#393892
secondary
#B4B571
accent
#D454D3
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393892

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

Preview Lab → · Contrast checker → · Palette generator →

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