#393CBA#393CBA

#393CBA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.193 H 274.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#393CBA
RGBrgb(57, 60, 186)
HSLhsl(239, 53%, 48%)
HSVhsv(239, 69%, 73%)
CMYKcmyk(69.4%, 67.7%, 0%, 27.1%)
CIE-LABlab(33.23, 39.75, -66.56)
CIE-LCHlch(33.23, 77.53, 300.84°)
OKLaboklab(44.09% 0.0138 -0.1923)
OKLCHoklch(44.09% 0.193 274.1)
XYZxyz(12.1632, 7.6456, 47.2796)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CBA #BAB739
analogous
#397CBA #393CBA #7739BA
triadic
#393CBA #BA393C #3CBA39
tetradic
#393CBA #BA397C #BAB739 #39BA77
square
#393CBA #BA397C #BAB739 #39BA77
split-complementary
#393CBA #BA7739 #7CBA39
monochromatic
#1C1E5C #2B2D8B #393CBA #6164CF #9092DD

Accessibility & contrast

On white

8.30
#393CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#393CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393CBA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393CBA#FFFFFF#000000##FFFFFF
##393CBA1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393cba;
/* rgb */ color: rgb(57, 60, 186);
/* oklch */ color: oklch(44.1% 0.193 274.1);
Tailwind
colors: {
  custom: {
    50: '#8172d0',
    500: '#393cba',
    950: '#000000',
  },
}
SCSS
$custom: #393cba;
$custom-light: #8172d0;
$custom-dark: #000000;
JSON
{
  "hex": "#393cba",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 186
  },
  "hsl": {
    "h": 238.605,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44088,
    "c": 0.19281,
    "h": 274.1
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#393CBA
secondary
#C8C687
accent
#D94BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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