#393BB1#393BB1

#393BB1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.182 H 274.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#393BB1
RGBrgb(57, 59, 177)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 68%, 69%)
CMYKcmyk(67.8%, 66.7%, 0%, 30.6%)
CIE-LABlab(32.19, 37.29, -62.94)
CIE-LCHlch(32.19, 73.15, 300.65°)
OKLaboklab(43.09% 0.0155 -0.1817)
OKLCHoklch(43.09% 0.182 274.9)
XYZxyz(11.1845, 7.1711, 42.3812)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BB1 #B1AF39
analogous
#3977B1 #393BB1 #7339B1
triadic
#393BB1 #B1393B #3BB139
tetradic
#393BB1 #B13977 #B1AF39 #39B173
square
#393BB1 #B13977 #B1AF39 #39B173
split-complementary
#393BB1 #B17339 #77B139
monochromatic
#1B1C54 #2A2C83 #393BB1 #5D5ECB #8B8CDA

Accessibility & contrast

On white

8.63
#393BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#393BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BB1
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BB1#FFFFFF#000000##FFFFFF
##393BB11.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393bb1;
/* rgb */ color: rgb(57, 59, 177);
/* oklch */ color: oklch(43.1% 0.182 274.9);
Tailwind
colors: {
  custom: {
    50: '#7f71c9',
    500: '#393bb1',
    950: '#000000',
  },
}
SCSS
$custom: #393bb1;
$custom-light: #7f71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#393bb1",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 239,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43085,
    "c": 0.18235,
    "h": 274.9
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#393BB1
secondary
#C4C382
accent
#D84DDB
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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