#393AB1#393AB1

#393AB1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.184 H 275.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#393AB1
RGBrgb(57, 58, 177)
HSLhsl(240, 51%, 46%)
HSVhsv(240, 68%, 69%)
CMYKcmyk(67.8%, 67.2%, 0%, 30.6%)
CIE-LABlab(31.96, 37.90, -63.31)
CIE-LCHlch(31.96, 73.79, 300.91°)
OKLaboklab(42.92% 0.0162 -0.1828)
OKLCHoklch(42.92% 0.184 275.1)
XYZxyz(11.1336, 7.0693, 42.3642)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AB1 #B1B039
analogous
#3976B1 #393AB1 #7439B1
triadic
#393AB1 #B1393A #3AB139
tetradic
#393AB1 #B13976 #B1B039 #39B174
square
#393AB1 #B13976 #B1B039 #39B174
split-complementary
#393AB1 #B17439 #76B139
monochromatic
#1B1C54 #2A2B83 #393AB1 #5D5DCB #8B8BDA

Accessibility & contrast

On white

8.70
#393AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#393AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AB1
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AB1#FFFFFF#000000##FFFFFF
##393AB11.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393ab1;
/* rgb */ color: rgb(57, 58, 177);
/* oklch */ color: oklch(42.9% 0.184 275.1);
Tailwind
colors: {
  custom: {
    50: '#7f71c9',
    500: '#393ab1',
    950: '#000000',
  },
}
SCSS
$custom: #393ab1;
$custom-light: #7f71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#393ab1",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 177
  },
  "hsl": {
    "h": 239.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.18352,
    "h": 275.1
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#393AB1
secondary
#C4C382
accent
#DA4DDB
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #393AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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