#393EA1#393EA1

#393EA1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.157 H 275.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#393EA1
RGBrgb(57, 62, 161)
HSLhsl(237, 48%, 43%)
HSVhsv(237, 65%, 63%)
CMYKcmyk(64.6%, 61.5%, 0%, 36.9%)
CIE-LABlab(31.55, 29.83, -54.40)
CIE-LCHlch(31.55, 62.04, 298.74°)
OKLaboklab(42.19% 0.0142 -0.1566)
OKLCHoklch(42.19% 0.157 275.2)
XYZxyz(9.8409, 6.8875, 34.5221)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EA1 #A19C39
analogous
#3972A1 #393EA1 #6839A1
triadic
#393EA1 #A1393E #3EA139
tetradic
#393EA1 #A13972 #A19C39 #39A168
square
#393EA1 #A13972 #A19C39 #39A168
split-complementary
#393EA1 #A16839 #72A139
monochromatic
#191B47 #292D74 #393EA1 #555AC3 #8286D3

Accessibility & contrast

On white

8.83
#393EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#393EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EA1
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EA1#FFFFFF#000000##FFFFFF
##393EA11.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393ea1;
/* rgb */ color: rgb(57, 62, 161);
/* oklch */ color: oklch(42.2% 0.157 275.2);
Tailwind
colors: {
  custom: {
    50: '#7b73be',
    500: '#393ea1',
    950: '#000000',
  },
}
SCSS
$custom: #393ea1;
$custom-light: #7b73be;
$custom-dark: #000000;
JSON
{
  "hex": "#393ea1",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 237.115,
    "s": 47.706,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42191,
    "c": 0.15726,
    "h": 275.2
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#393EA1
secondary
#BCB979
accent
#D150D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #393EA1

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

Preview Lab → · Contrast checker → · Palette generator →

#393EA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva