#393EA2#393EA2

#393EA2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.159 H 275.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#393EA2
RGBrgb(57, 62, 162)
HSLhsl(237, 48%, 43%)
HSVhsv(237, 65%, 64%)
CMYKcmyk(64.8%, 61.7%, 0%, 36.5%)
CIE-LABlab(31.63, 30.18, -54.87)
CIE-LCHlch(31.63, 62.62, 298.81°)
OKLaboklab(42.28% 0.0142 -0.158)
OKLCHoklch(42.28% 0.159 275.1)
XYZxyz(9.9294, 6.9229, 34.9884)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EA2 #A29D39
analogous
#3972A2 #393EA2 #6839A2
triadic
#393EA2 #A2393E #3EA239
tetradic
#393EA2 #A23972 #A29D39 #39A268
square
#393EA2 #A23972 #A29D39 #39A268
split-complementary
#393EA2 #A26839 #72A239
monochromatic
#191B47 #292D75 #393EA2 #555AC3 #8286D3

Accessibility & contrast

On white

8.81
#393EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#393EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EA2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EA2#FFFFFF#000000##FFFFFF
##393EA21.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #393ea2;
/* rgb */ color: rgb(57, 62, 162);
/* oklch */ color: oklch(42.3% 0.159 275.1);
Tailwind
colors: {
  custom: {
    50: '#7c73be',
    500: '#393ea2',
    950: '#000000',
  },
}
SCSS
$custom: #393ea2;
$custom-light: #7c73be;
$custom-dark: #000000;
JSON
{
  "hex": "#393ea2",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 237.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.15864,
    "h": 275.1
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#393EA2
secondary
#BDBA7A
accent
#D150D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #393EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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