#393AA3#393AA3

#393AA3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.165 H 276.1°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#393AA3
RGBrgb(57, 58, 163)
HSLhsl(239, 48%, 43%)
HSVhsv(239, 65%, 64%)
CMYKcmyk(65%, 64.4%, 0%, 36.1%)
CIE-LABlab(30.73, 33.09, -56.93)
CIE-LCHlch(30.73, 65.85, 300.16°)
OKLaboklab(41.65% 0.0175 -0.1641)
OKLCHoklch(41.65% 0.165 276.1)
XYZxyz(9.8091, 6.5395, 35.3886)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AA3 #A3A239
analogous
#396FA3 #393AA3 #6D39A3
triadic
#393AA3 #A3393A #3AA339
tetradic
#393AA3 #A3396F #A3A239 #39A36D
square
#393AA3 #A3396F #A3A239 #39A36D
split-complementary
#393AA3 #A36D39 #6FA339
monochromatic
#191A48 #292A76 #393AA3 #5557C4 #8384D4

Accessibility & contrast

On white

9.10
#393AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#393AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AA3
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AA3#FFFFFF#000000##FFFFFF
##393AA31.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393aa3;
/* rgb */ color: rgb(57, 58, 163);
/* oklch */ color: oklch(41.6% 0.165 276.1);
Tailwind
colors: {
  custom: {
    50: '#7c70bf',
    500: '#393aa3',
    950: '#000000',
  },
}
SCSS
$custom: #393aa3;
$custom-light: #7c70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#393aa3",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 163
  },
  "hsl": {
    "h": 239.434,
    "s": 48.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41645,
    "c": 0.16503,
    "h": 276.1
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#393AA3
secondary
#BDBD7A
accent
#D650D8
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #393AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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