#393BB4#393BB4

#393BB4 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.186 H 274.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#393BB4
RGBrgb(57, 59, 180)
HSLhsl(239, 52%, 46%)
HSVhsv(239, 68%, 71%)
CMYKcmyk(68.3%, 67.2%, 0%, 29.4%)
CIE-LABlab(32.46, 38.31, -64.28)
CIE-LCHlch(32.46, 74.83, 300.80°)
OKLaboklab(43.36% 0.0152 -0.1856)
OKLCHoklch(43.36% 0.186 274.7)
XYZxyz(11.4868, 7.2920, 43.9733)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BB4 #B4B239
analogous
#3979B4 #393BB4 #7539B4
triadic
#393BB4 #B4393B #3BB439
tetradic
#393BB4 #B43979 #B4B239 #39B475
square
#393BB4 #B43979 #B4B239 #39B475
split-complementary
#393BB4 #B47539 #79B439
monochromatic
#1C1D57 #2A2C86 #393BB4 #5E60CC #8D8EDB

Accessibility & contrast

On white

8.54
#393BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#393BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BB4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BB4#FFFFFF#000000##FFFFFF
##393BB41.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393bb4;
/* rgb */ color: rgb(57, 59, 180);
/* oklch */ color: oklch(43.4% 0.186 274.7);
Tailwind
colors: {
  custom: {
    50: '#8071cc',
    500: '#393bb4',
    950: '#000000',
  },
}
SCSS
$custom: #393bb4;
$custom-light: #8071cc;
$custom-dark: #000000;
JSON
{
  "hex": "#393bb4",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 239.024,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43363,
    "c": 0.18624,
    "h": 274.7
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#393BB4
secondary
#C5C483
accent
#D94CDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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