#393EB2#393EB2

#393EB2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.180 H 274.2°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#393EB2
RGBrgb(57, 62, 178)
HSLhsl(238, 51%, 46%)
HSVhsv(238, 68%, 70%)
CMYKcmyk(68%, 65.2%, 0%, 30.2%)
CIE-LABlab(32.98, 35.77, -62.24)
CIE-LCHlch(32.98, 71.79, 299.88°)
OKLaboklab(43.69% 0.0132 -0.1796)
OKLCHoklch(43.69% 0.18 274.2)
XYZxyz(11.4432, 7.5284, 42.9609)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EB2 #B2AD39
analogous
#397AB2 #393EB2 #7039B2
triadic
#393EB2 #B2393E #3EB239
tetradic
#393EB2 #B2397A #B2AD39 #39B270
square
#393EB2 #B2397A #B2AD39 #39B270
split-complementary
#393EB2 #B27039 #7AB239
monochromatic
#1B1E55 #2A2E84 #393EB2 #5D62CB #8B8FDA

Accessibility & contrast

On white

8.38
#393EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#393EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EB2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EB2#FFFFFF#000000##FFFFFF
##393EB21.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393eb2;
/* rgb */ color: rgb(57, 62, 178);
/* oklch */ color: oklch(43.7% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#7f73ca',
    500: '#393eb2',
    950: '#000000',
  },
}
SCSS
$custom: #393eb2;
$custom-light: #7f73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#393eb2",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 237.521,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.18012,
    "h": 274.2
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#393EB2
secondary
#C4C282
accent
#D54DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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