#393EB5#393EB5

#393EB5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.184 H 274.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#393EB5
RGBrgb(57, 62, 181)
HSLhsl(238, 52%, 47%)
HSVhsv(238, 69%, 71%)
CMYKcmyk(68.5%, 65.7%, 0%, 29%)
CIE-LABlab(33.24, 36.81, -63.59)
CIE-LCHlch(33.24, 73.47, 300.06°)
OKLaboklab(43.96% 0.013 -0.1836)
OKLCHoklch(43.96% 0.184 274)
XYZxyz(11.7477, 7.6502, 44.5646)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393EB5 #B5B039
analogous
#397CB5 #393EB5 #7239B5
triadic
#393EB5 #B5393E #3EB539
tetradic
#393EB5 #B5397C #B5B039 #39B572
square
#393EB5 #B5397C #B5B039 #39B572
split-complementary
#393EB5 #B57239 #7CB539
monochromatic
#1C1E58 #2A2E86 #393EB5 #5F63CD #8D90DB

Accessibility & contrast

On white

8.30
#393EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#393EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393EB5
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393EB5#FFFFFF#000000##FFFFFF
##393EB51.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #393eb5;
/* rgb */ color: rgb(57, 62, 181);
/* oklch */ color: oklch(44.0% 0.184 274.0);
Tailwind
colors: {
  custom: {
    50: '#8073cc',
    500: '#393eb5',
    950: '#000000',
  },
}
SCSS
$custom: #393eb5;
$custom-light: #8073cc;
$custom-dark: #000000;
JSON
{
  "hex": "#393eb5",
  "rgb": {
    "r": 57,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 237.581,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.18406,
    "h": 274
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#393EB5
secondary
#C6C384
accent
#D64CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #393EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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