#393BB5#393BB5

#393BB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.188 H 274.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#393BB5
RGBrgb(57, 59, 181)
HSLhsl(239, 52%, 47%)
HSVhsv(239, 69%, 71%)
CMYKcmyk(68.5%, 67.4%, 0%, 29%)
CIE-LABlab(32.55, 38.66, -64.72)
CIE-LCHlch(32.55, 75.39, 300.85°)
OKLaboklab(43.46% 0.0151 -0.1869)
OKLCHoklch(43.46% 0.188 274.6)
XYZxyz(11.5890, 7.3329, 44.5118)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393BB5 #B5B339
analogous
#3979B5 #393BB5 #7539B5
triadic
#393BB5 #B5393B #3BB539
tetradic
#393BB5 #B53979 #B5B339 #39B575
square
#393BB5 #B53979 #B5B339 #39B575
split-complementary
#393BB5 #B57539 #79B539
monochromatic
#1C1D58 #2A2C86 #393BB5 #5F60CD #8D8EDB

Accessibility & contrast

On white

8.51
#393BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #393BB5
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393BB5#FFFFFF#000000##FFFFFF
##393BB51.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #393bb5;
/* rgb */ color: rgb(57, 59, 181);
/* oklch */ color: oklch(43.5% 0.188 274.6);
Tailwind
colors: {
  custom: {
    50: '#8071cc',
    500: '#393bb5',
    950: '#000000',
  },
}
SCSS
$custom: #393bb5;
$custom-light: #8071cc;
$custom-dark: #000000;
JSON
{
  "hex": "#393bb5",
  "rgb": {
    "r": 57,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 239.032,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43456,
    "c": 0.18753,
    "h": 274.6
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#393BB5
secondary
#C6C584
accent
#D94CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #393BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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