#393BA7#393BA7

#393BA7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.169 H 275.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#393BA7
RGBrgb(57, 59, 167)
HSLhsl(239, 49%, 44%)
HSVhsv(239, 66%, 65%)
CMYKcmyk(65.9%, 64.7%, 0%, 34.5%)
CIE-LABlab(31.32, 33.84, -58.39)
CIE-LCHlch(31.32, 67.49, 300.10°)
OKLaboklab(42.18% 0.0164 -0.1684)
OKLCHoklch(42.18% 0.169 275.6)
XYZxyz(10.2241, 6.7869, 37.3229)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BA7 #A7A539
analogous
#3972A7 #393BA7 #6E39A7
triadic
#393BA7 #A7393B #3BA739
tetradic
#393BA7 #A73972 #A7A539 #39A76E
square
#393BA7 #A73972 #A7A539 #39A76E
split-complementary
#393BA7 #A76E39 #72A739
monochromatic
#1A1B4C #292B79 #393BA7 #5759C6 #8586D5

Accessibility & contrast

On white

8.91
#393BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#393BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BA7
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BA7#FFFFFF#000000##FFFFFF
##393BA71.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393ba7;
/* rgb */ color: rgb(57, 59, 167);
/* oklch */ color: oklch(42.2% 0.169 275.6);
Tailwind
colors: {
  custom: {
    50: '#7d71c2',
    500: '#393ba7',
    950: '#000000',
  },
}
SCSS
$custom: #393ba7;
$custom-light: #7d71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#393ba7",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 167
  },
  "hsl": {
    "h": 238.909,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42176,
    "c": 0.16917,
    "h": 275.6
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#393BA7
secondary
#BFBE7D
accent
#D64FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #393BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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