#393692#393692

#393692 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.147 H 278.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#393692
RGBrgb(57, 54, 146)
HSLhsl(242, 46%, 39%)
HSVhsv(242, 63%, 57%)
CMYKcmyk(61%, 63%, 0%, 42.7%)
CIE-LABlab(28.33, 29.77, -50.49)
CIE-LCHlch(28.33, 58.62, 300.53°)
OKLaboklab(39.44% 0.0222 -0.1452)
OKLCHoklch(39.44% 0.147 278.7)
XYZxyz(8.1932, 5.5829, 27.8344)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393692 #8F9236
analogous
#366192 #393692 #673692
triadic
#393692 #923936 #369239
tetradic
#393692 #923661 #8F9236 #369267
square
#393692 #923661 #8F9236 #369267
split-complementary
#393692 #926736 #619236
monochromatic
#161539 #282565 #393692 #4D49BC #7976CC

Accessibility & contrast

On white

9.92
#393692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#393692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393692
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393692#FFFFFF#000000##FFFFFF
##3936921.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #393692;
/* rgb */ color: rgb(57, 54, 146);
/* oklch */ color: oklch(39.4% 0.147 278.7);
Tailwind
colors: {
  custom: {
    50: '#796db3',
    500: '#393692',
    950: '#000000',
  },
}
SCSS
$custom: #393692;
$custom-light: #796db3;
$custom-dark: #000000;
JSON
{
  "hex": "#393692",
  "rgb": {
    "r": 57,
    "g": 54,
    "b": 146
  },
  "hsl": {
    "h": 241.957,
    "s": 46,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.1469,
    "h": 278.7
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#393692
secondary
#B3B56F
accent
#D652D1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #393692

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

Preview Lab → · Contrast checker → · Palette generator →

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