#393FAB#393FAB

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

Color values

HEX#393FAB
RGBrgb(57, 63, 171)
HSLhsl(237, 50%, 45%)
HSVhsv(237, 67%, 67%)
CMYKcmyk(66.7%, 63.2%, 0%, 32.9%)
CIE-LABlab(32.62, 32.70, -58.65)
CIE-LCHlch(32.62, 67.15, 299.14°)
OKLaboklab(43.24% 0.0129 -0.1691)
OKLCHoklch(43.24% 0.17 274.4)
XYZxyz(10.8131, 7.3642, 39.3718)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393FAB #ABA539
analogous
#3978AB #393FAB #6C39AB
triadic
#393FAB #AB393F #3FAB39
tetradic
#393FAB #AB3978 #ABA539 #39AB6C
square
#393FAB #AB3978 #ABA539 #39AB6C
split-complementary
#393FAB #AB6C39 #78AB39
monochromatic
#1A1D4F #2A2E7D #393FAB #595FC8 #878CD7

Accessibility & contrast

On white

8.49
#393FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#393FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393FAB
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393FAB#FFFFFF#000000##FFFFFF
##393FAB1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393fab;
/* rgb */ color: rgb(57, 63, 171);
/* oklch */ color: oklch(43.2% 0.170 274.4);
Tailwind
colors: {
  custom: {
    50: '#7d74c5',
    500: '#393fab',
    950: '#000000',
  },
}
SCSS
$custom: #393fab;
$custom-light: #7d74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#393fab",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 236.842,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43238,
    "c": 0.16961,
    "h": 274.4
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#393FAB
secondary
#C1BE7F
accent
#D24EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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