#393BA2#393BA2

#393BA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.162 H 275.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#393BA2
RGBrgb(57, 59, 162)
HSLhsl(239, 48%, 43%)
HSVhsv(239, 65%, 64%)
CMYKcmyk(64.8%, 63.6%, 0%, 36.5%)
CIE-LABlab(30.89, 32.11, -56.07)
CIE-LCHlch(30.89, 64.61, 299.80°)
OKLaboklab(41.73% 0.0168 -0.1616)
OKLCHoklch(41.73% 0.162 275.9)
XYZxyz(9.7708, 6.6056, 34.9355)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BA2 #A2A039
analogous
#396FA2 #393BA2 #6B39A2
triadic
#393BA2 #A2393B #3BA239
tetradic
#393BA2 #A2396F #A2A039 #39A26B
square
#393BA2 #A2396F #A2A039 #39A26B
split-complementary
#393BA2 #A26B39 #6FA239
monochromatic
#191A47 #292B75 #393BA2 #5557C3 #8284D3

Accessibility & contrast

On white

9.05
#393BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#393BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BA2
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BA2#FFFFFF#000000##FFFFFF
##393BA21.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0044A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #393ba2;
/* rgb */ color: rgb(57, 59, 162);
/* oklch */ color: oklch(41.7% 0.162 275.9);
Tailwind
colors: {
  custom: {
    50: '#7c71be',
    500: '#393ba2',
    950: '#000000',
  },
}
SCSS
$custom: #393ba2;
$custom-light: #7c71be;
$custom-dark: #000000;
JSON
{
  "hex": "#393ba2",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 238.857,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41733,
    "c": 0.16244,
    "h": 275.9
  },
  "luminance": 0.06606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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