#393DB2#393DB2

#393DB2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.181 H 274.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#393DB2
RGBrgb(57, 61, 178)
HSLhsl(238, 51%, 46%)
HSVhsv(238, 68%, 70%)
CMYKcmyk(68%, 65.7%, 0%, 30.2%)
CIE-LABlab(32.75, 36.39, -62.62)
CIE-LCHlch(32.75, 72.43, 300.16°)
OKLaboklab(43.51% 0.0139 -0.1808)
OKLCHoklch(43.51% 0.181 274.4)
XYZxyz(11.3893, 7.4207, 42.9430)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393DB2 #B2AE39
analogous
#3979B2 #393DB2 #7139B2
triadic
#393DB2 #B2393D #3DB239
tetradic
#393DB2 #B23979 #B2AE39 #39B271
square
#393DB2 #B23979 #B2AE39 #39B271
split-complementary
#393DB2 #B27139 #79B239
monochromatic
#1B1D55 #2A2D84 #393DB2 #5D61CB #8B8EDA

Accessibility & contrast

On white

8.45
#393DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#393DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393DB2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393DB2#FFFFFF#000000##FFFFFF
##393DB21.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #393db2;
/* rgb */ color: rgb(57, 61, 178);
/* oklch */ color: oklch(43.5% 0.181 274.4);
Tailwind
colors: {
  custom: {
    50: '#7f73ca',
    500: '#393db2',
    950: '#000000',
  },
}
SCSS
$custom: #393db2;
$custom-light: #7f73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#393db2",
  "rgb": {
    "r": 57,
    "g": 61,
    "b": 178
  },
  "hsl": {
    "h": 238.017,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43514,
    "c": 0.18132,
    "h": 274.4
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#393DB2
secondary
#C4C282
accent
#D64DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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