#393EB8#393EB8

#393EB8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.188 H 273.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#393EB8
RGBrgb(57, 62, 184)
HSLhsl(238, 53%, 47%)
HSVhsv(238, 69%, 72%)
CMYKcmyk(69%, 66.3%, 0%, 27.8%)
CIE-LABlab(33.51, 37.84, -64.93)
CIE-LCHlch(33.51, 75.15, 300.23°)
OKLaboklab(44.23% 0.0127 -0.1875)
OKLCHoklch(44.23% 0.188 273.9)
XYZxyz(12.0588, 7.7747, 46.2033)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EB8 #B8B339
analogous
#397DB8 #393EB8 #7439B8
triadic
#393EB8 #B8393E #3EB839
tetradic
#393EB8 #B8397D #B8B339 #39B874
square
#393EB8 #B8397D #B8B339 #39B874
split-complementary
#393EB8 #B87439 #7DB839
monochromatic
#1C1F5B #2B2E89 #393EB8 #6065CE #8F92DC

Accessibility & contrast

On white

8.22
#393EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#393EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EB8
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EB8#FFFFFF#000000##FFFFFF
##393EB81.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #393eb8;
/* rgb */ color: rgb(57, 62, 184);
/* oklch */ color: oklch(44.2% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#8074ce',
    500: '#393eb8',
    950: '#000000',
  },
}
SCSS
$custom: #393eb8;
$custom-light: #8074ce;
$custom-dark: #000000;
JSON
{
  "hex": "#393eb8",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 237.638,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44233,
    "c": 0.18796,
    "h": 273.9
  },
  "luminance": 0.07776
}

Semantic roles & 50–950 ramp

primary
#393EB8
secondary
#C7C586
accent
#D64CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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