#393BA3#393BA3

#393BA3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.164 H 275.8°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#393BA3
RGBrgb(57, 59, 163)
HSLhsl(239, 48%, 43%)
HSVhsv(239, 65%, 64%)
CMYKcmyk(65%, 63.8%, 0%, 36.1%)
CIE-LABlab(30.98, 32.45, -56.54)
CIE-LCHlch(30.98, 65.19, 299.86°)
OKLaboklab(41.82% 0.0167 -0.1629)
OKLCHoklch(41.82% 0.164 275.8)
XYZxyz(9.8600, 6.6413, 35.4055)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BA3 #A3A139
analogous
#3970A3 #393BA3 #6C39A3
triadic
#393BA3 #A3393B #3BA339
tetradic
#393BA3 #A33970 #A3A139 #39A36C
square
#393BA3 #A33970 #A3A139 #39A36C
split-complementary
#393BA3 #A36C39 #70A339
monochromatic
#191A48 #292B76 #393BA3 #5558C4 #8384D4

Accessibility & contrast

On white

9.02
#393BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#393BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BA3
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BA3#FFFFFF#000000##FFFFFF
##393BA31.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393ba3;
/* rgb */ color: rgb(57, 59, 163);
/* oklch */ color: oklch(41.8% 0.164 275.8);
Tailwind
colors: {
  custom: {
    50: '#7c71bf',
    500: '#393ba3',
    950: '#000000',
  },
}
SCSS
$custom: #393ba3;
$custom-light: #7c71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#393ba3",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 238.868,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41821,
    "c": 0.16379,
    "h": 275.8
  },
  "luminance": 0.06642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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