#393EBE#393EBE

#393EBE is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.8% C 0.196 H 273.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#393EBE
RGBrgb(57, 62, 190)
HSLhsl(238, 54%, 48%)
HSVhsv(238, 70%, 75%)
CMYKcmyk(70%, 67.4%, 0%, 25.5%)
CIE-LABlab(34.05, 39.90, -67.58)
CIE-LCHlch(34.05, 78.48, 300.56°)
OKLaboklab(44.79% 0.0121 -0.1953)
OKLCHoklch(44.79% 0.196 273.5)
XYZxyz(12.7011, 8.0316, 49.5861)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EBE #BEB939
analogous
#3980BE #393EBE #7639BE
triadic
#393EBE #BE393E #3EBE39
tetradic
#393EBE #BE3980 #BEB939 #39BE76
square
#393EBE #BE3980 #BEB939 #39BE76
split-complementary
#393EBE #BE7639 #80BE39
monochromatic
#1D1F60 #2B2F8F #393EBE #6468D0 #9396DF

Accessibility & contrast

On white

8.06
#393EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#393EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EBE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EBE#FFFFFF#000000##FFFFFF
##393EBE1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#006079
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #393ebe;
/* rgb */ color: rgb(57, 62, 190);
/* oklch */ color: oklch(44.8% 0.196 273.5);
Tailwind
colors: {
  custom: {
    50: '#8274d3',
    500: '#393ebe',
    950: '#000000',
  },
}
SCSS
$custom: #393ebe;
$custom-light: #8274d3;
$custom-dark: #000000;
JSON
{
  "hex": "#393ebe",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 237.744,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.19566,
    "h": 273.5
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#393EBE
secondary
#CAC789
accent
#D84BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #393EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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