#393DA0#393DA0

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

Color values

HEX#393DA0
RGBrgb(57, 61, 160)
HSLhsl(238, 47%, 43%)
HSVhsv(238, 64%, 63%)
CMYKcmyk(64.4%, 61.9%, 0%, 37.3%)
CIE-LABlab(31.22, 30.12, -54.33)
CIE-LCHlch(31.22, 62.12, 299.01°)
OKLaboklab(41.92% 0.0151 -0.1564)
OKLCHoklch(41.92% 0.157 275.5)
XYZxyz(9.6992, 6.7446, 34.0416)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DA0 #A09C39
analogous
#3970A0 #393DA0 #6939A0
triadic
#393DA0 #A0393D #3DA039
tetradic
#393DA0 #A03970 #A09C39 #39A069
square
#393DA0 #A03970 #A09C39 #39A069
split-complementary
#393DA0 #A06939 #70A039
monochromatic
#191B46 #292C73 #393DA0 #5458C2 #8184D2

Accessibility & contrast

On white

8.94
#393DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#393DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DA0
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DA0#FFFFFF#000000##FFFFFF
##393DA01.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393da0;
/* rgb */ color: rgb(57, 61, 160);
/* oklch */ color: oklch(41.9% 0.157 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b72bd',
    500: '#393da0',
    950: '#000000',
  },
}
SCSS
$custom: #393da0;
$custom-light: #7b72bd;
$custom-dark: #000000;
JSON
{
  "hex": "#393da0",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 237.67,
    "s": 47.465,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.15717,
    "h": 275.5
  },
  "luminance": 0.06745
}

Semantic roles & 50–950 ramp

primary
#393DA0
secondary
#BCB979
accent
#D251D7
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #393DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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