#393F8A#393F8A

#393F8A is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.123 H 276.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#393F8A
RGBrgb(57, 63, 138)
HSLhsl(236, 42%, 38%)
HSVhsv(236, 59%, 54%)
CMYKcmyk(58.7%, 54.3%, 0%, 45.9%)
CIE-LABlab(30.06, 21.06, -42.77)
CIE-LCHlch(30.06, 47.67, 296.22°)
OKLaboklab(40.53% 0.0129 -0.1224)
OKLCHoklch(40.53% 0.123 276)
XYZxyz(8.0508, 6.2593, 24.8237)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393F8A #8A8439
analogous
#39678A #393F8A #5B398A
triadic
#393F8A #8A393F #3F8A39
tetradic
#393F8A #8A3967 #8A8439 #398A5B
square
#393F8A #8A3967 #8A8439 #398A5B
split-complementary
#393F8A #8A5B39 #678A39
monochromatic
#151733 #272B5F #393F8A #4B53B5 #777DC7

Accessibility & contrast

On white

9.33
#393F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#393F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393F8A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393F8A#FFFFFF#000000##FFFFFF
##393F8A1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#07505E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #393f8a;
/* rgb */ color: rgb(57, 63, 138);
/* oklch */ color: oklch(40.5% 0.123 276.0);
Tailwind
colors: {
  custom: {
    50: '#7774ad',
    500: '#393f8a',
    950: '#000000',
  },
}
SCSS
$custom: #393f8a;
$custom-light: #7774ad;
$custom-dark: #000000;
JSON
{
  "hex": "#393f8a",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 235.556,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.12309,
    "h": 276
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#393F8A
secondary
#B0AB6F
accent
#C856D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #393F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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