#393EB9#393EB9

#393EB9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.189 H 273.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#393EB9
RGBrgb(57, 62, 185)
HSLhsl(238, 53%, 47%)
HSVhsv(238, 69%, 73%)
CMYKcmyk(69.2%, 66.5%, 0%, 27.5%)
CIE-LABlab(33.60, 38.19, -65.38)
CIE-LCHlch(33.60, 75.71, 300.29°)
OKLaboklab(44.33% 0.0126 -0.1888)
OKLCHoklch(44.33% 0.189 273.8)
XYZxyz(12.1640, 7.8167, 46.7573)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EB9 #B9B439
analogous
#397EB9 #393EB9 #7439B9
triadic
#393EB9 #B9393E #3EB939
tetradic
#393EB9 #B9397E #B9B439 #39B974
square
#393EB9 #B9397E #B9B439 #39B974
split-complementary
#393EB9 #B97439 #7EB939
monochromatic
#1C1F5B #2B2E8A #393EB9 #6165CE #9093DD

Accessibility & contrast

On white

8.19
#393EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393EB9
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EB9#FFFFFF#000000##FFFFFF
##393EB91.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #393eb9;
/* rgb */ color: rgb(57, 62, 185);
/* oklch */ color: oklch(44.3% 0.189 273.8);
Tailwind
colors: {
  custom: {
    50: '#8074cf',
    500: '#393eb9',
    950: '#000000',
  },
}
SCSS
$custom: #393eb9;
$custom-light: #8074cf;
$custom-dark: #000000;
JSON
{
  "hex": "#393eb9",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 237.656,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44325,
    "c": 0.18925,
    "h": 273.8
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#393EB9
secondary
#C8C586
accent
#D74BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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