#393BA4#393BA4

#393BA4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.165 H 275.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#393BA4
RGBrgb(57, 59, 164)
HSLhsl(239, 48%, 43%)
HSVhsv(239, 65%, 64%)
CMYKcmyk(65.2%, 64%, 0%, 35.7%)
CIE-LABlab(31.06, 32.80, -57.00)
CIE-LCHlch(31.06, 65.77, 299.92°)
OKLaboklab(41.91% 0.0166 -0.1643)
OKLCHoklch(41.91% 0.165 275.8)
XYZxyz(9.9500, 6.6773, 35.8793)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BA4 #A4A239
analogous
#3970A4 #393BA4 #6D39A4
triadic
#393BA4 #A4393B #3BA439
tetradic
#393BA4 #A43970 #A4A239 #39A46D
square
#393BA4 #A43970 #A4A239 #39A46D
split-complementary
#393BA4 #A46D39 #70A439
monochromatic
#191A49 #292B77 #393BA4 #5658C4 #8385D4

Accessibility & contrast

On white

8.99
#393BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#393BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BA4
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BA4#FFFFFF#000000##FFFFFF
##393BA41.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393ba4;
/* rgb */ color: rgb(57, 59, 164);
/* oklch */ color: oklch(41.9% 0.165 275.8);
Tailwind
colors: {
  custom: {
    50: '#7c71c0',
    500: '#393ba4',
    950: '#000000',
  },
}
SCSS
$custom: #393ba4;
$custom-light: #7c71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#393ba4",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 238.879,
    "s": 48.416,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41909,
    "c": 0.16514,
    "h": 275.8
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#393BA4
secondary
#BEBD7B
accent
#D550D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #393BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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