#393ABA#393ABA

#393ABA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.8% C 0.195 H 274.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#393ABA
RGBrgb(57, 58, 186)
HSLhsl(240, 53%, 48%)
HSVhsv(240, 69%, 73%)
CMYKcmyk(69.4%, 68.8%, 0%, 27.1%)
CIE-LABlab(32.79, 40.96, -67.30)
CIE-LCHlch(32.79, 78.78, 301.33°)
OKLaboklab(43.77% 0.0151 -0.1945)
OKLCHoklch(43.77% 0.195 274.5)
XYZxyz(12.0604, 7.4400, 47.2453)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393ABA #BAB939
analogous
#397ABA #393ABA #7939BA
triadic
#393ABA #BA393A #3ABA39
tetradic
#393ABA #BA397A #BAB939 #39BA79
square
#393ABA #BA397A #BAB939 #39BA79
split-complementary
#393ABA #BA7939 #7ABA39
monochromatic
#1C1D5C #2B2B8B #393ABA #6162CF #9091DD

Accessibility & contrast

On white

8.44
#393ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#393ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393ABA
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393ABA#FFFFFF#000000##FFFFFF
##393ABA1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393aba;
/* rgb */ color: rgb(57, 58, 186);
/* oklch */ color: oklch(43.8% 0.195 274.5);
Tailwind
colors: {
  custom: {
    50: '#8171d0',
    500: '#393aba',
    950: '#000000',
  },
}
SCSS
$custom: #393aba;
$custom-light: #8171d0;
$custom-dark: #000000;
JSON
{
  "hex": "#393aba",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 239.535,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43766,
    "c": 0.19504,
    "h": 274.5
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#393ABA
secondary
#C8C787
accent
#DB4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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