#393EBB#393EBB

#393EBB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.5% C 0.192 H 273.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#393EBB
RGBrgb(57, 62, 187)
HSLhsl(238, 53%, 48%)
HSVhsv(238, 70%, 73%)
CMYKcmyk(69.5%, 66.8%, 0%, 26.7%)
CIE-LABlab(33.78, 38.87, -66.26)
CIE-LCHlch(33.78, 76.82, 300.40°)
OKLaboklab(44.51% 0.0124 -0.1914)
OKLCHoklch(44.51% 0.192 273.7)
XYZxyz(12.3766, 7.9018, 47.8770)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EBB #BBB639
analogous
#397FBB #393EBB #7539BB
triadic
#393EBB #BB393E #3EBB39
tetradic
#393EBB #BB397F #BBB639 #39BB75
square
#393EBB #BB397F #BBB639 #39BB75
split-complementary
#393EBB #BB7539 #7FBB39
monochromatic
#1C1F5D #2B2E8C #393EBB #6266CF #9194DD

Accessibility & contrast

On white

8.14
#393EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#393EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EBB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EBB#FFFFFF#000000##FFFFFF
##393EBB1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #393ebb;
/* rgb */ color: rgb(57, 62, 187);
/* oklch */ color: oklch(44.5% 0.192 273.7);
Tailwind
colors: {
  custom: {
    50: '#8174d1',
    500: '#393ebb',
    950: '#000000',
  },
}
SCSS
$custom: #393ebb;
$custom-light: #8174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#393ebb",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 237.692,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4451,
    "c": 0.19182,
    "h": 273.7
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #393EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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