#393CB5#393CB5

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

Color values

HEX#393CB5
RGBrgb(57, 60, 181)
HSLhsl(239, 52%, 47%)
HSVhsv(239, 69%, 71%)
CMYKcmyk(68.5%, 66.9%, 0%, 29%)
CIE-LABlab(32.78, 38.04, -64.35)
CIE-LCHlch(32.78, 74.75, 300.59°)
OKLaboklab(43.62% 0.0144 -0.1858)
OKLCHoklch(43.62% 0.186 274.4)
XYZxyz(11.6409, 7.4367, 44.5291)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393CB5 #B5B239
analogous
#397AB5 #393CB5 #7439B5
triadic
#393CB5 #B5393C #3CB539
tetradic
#393CB5 #B5397A #B5B239 #39B574
square
#393CB5 #B5397A #B5B239 #39B574
split-complementary
#393CB5 #B57439 #7AB539
monochromatic
#1C1D58 #2A2D86 #393CB5 #5F61CD #8D8FDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##393CB5#FFFFFF#000000##FFFFFF
##393CB51.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)
#0053B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393cb5;
/* rgb */ color: rgb(57, 60, 181);
/* oklch */ color: oklch(43.6% 0.186 274.4);
Tailwind
colors: {
  custom: {
    50: '#8072cc',
    500: '#393cb5',
    950: '#000000',
  },
}
SCSS
$custom: #393cb5;
$custom-light: #8072cc;
$custom-dark: #000000;
JSON
{
  "hex": "#393cb5",
  "rgb": {
    "r": 57,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 238.548,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43622,
    "c": 0.18638,
    "h": 274.4
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#393CB5
secondary
#C6C484
accent
#D84CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #393CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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