#393BB2#393BB2

#393BB2 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.184 H 274.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#393BB2
RGBrgb(57, 59, 178)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 68%, 70%)
CMYKcmyk(68%, 66.9%, 0%, 30.2%)
CIE-LABlab(32.28, 37.63, -63.38)
CIE-LCHlch(32.28, 73.71, 300.70°)
OKLaboklab(43.18% 0.0154 -0.183)
OKLCHoklch(43.18% 0.184 274.8)
XYZxyz(11.2845, 7.2111, 42.9080)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BB2 #B2B039
analogous
#3977B2 #393BB2 #7339B2
triadic
#393BB2 #B2393B #3BB239
tetradic
#393BB2 #B23977 #B2B039 #39B273
square
#393BB2 #B23977 #B2B039 #39B273
split-complementary
#393BB2 #B27339 #77B239
monochromatic
#1B1C55 #2A2C84 #393BB2 #5D5FCB #8B8DDA

Accessibility & contrast

On white

8.60
#393BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#393BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393BB2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BB2#FFFFFF#000000##FFFFFF
##393BB21.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #393bb2;
/* rgb */ color: rgb(57, 59, 178);
/* oklch */ color: oklch(43.2% 0.184 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f71ca',
    500: '#393bb2',
    950: '#000000',
  },
}
SCSS
$custom: #393bb2;
$custom-light: #7f71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#393bb2",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 239.008,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43177,
    "c": 0.18366,
    "h": 274.8
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#393BB2
secondary
#C4C382
accent
#D94DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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