#393EB4#393EB4

#393EB4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.183 H 274.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#393EB4
RGBrgb(57, 62, 180)
HSLhsl(238, 52%, 46%)
HSVhsv(238, 68%, 71%)
CMYKcmyk(68.3%, 65.6%, 0%, 29.4%)
CIE-LABlab(33.16, 36.46, -63.14)
CIE-LCHlch(33.16, 72.91, 300.00°)
OKLaboklab(43.87% 0.013 -0.1823)
OKLCHoklch(43.87% 0.183 274.1)
XYZxyz(11.6454, 7.6093, 44.0262)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EB4 #B4AF39
analogous
#397CB4 #393EB4 #7239B4
triadic
#393EB4 #B4393E #3EB439
tetradic
#393EB4 #B4397C #B4AF39 #39B472
square
#393EB4 #B4397C #B4AF39 #39B472
split-complementary
#393EB4 #B47239 #7CB439
monochromatic
#1C1E57 #2A2E86 #393EB4 #5E63CC #8D90DB

Accessibility & contrast

On white

8.33
#393EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#393EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EB4
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EB4#FFFFFF#000000##FFFFFF
##393EB41.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393eb4;
/* rgb */ color: rgb(57, 62, 180);
/* oklch */ color: oklch(43.9% 0.183 274.1);
Tailwind
colors: {
  custom: {
    50: '#7f73cb',
    500: '#393eb4',
    950: '#000000',
  },
}
SCSS
$custom: #393eb4;
$custom-light: #7f73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#393eb4",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 237.561,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43867,
    "c": 0.18275,
    "h": 274.1
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#393EB4
secondary
#C5C383
accent
#D64CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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