#393F8F#393F8F

#393F8F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.130 H 275.8°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#393F8F
RGBrgb(57, 63, 143)
HSLhsl(236, 43%, 39%)
HSVhsv(236, 60%, 56%)
CMYKcmyk(60.1%, 55.9%, 0%, 43.9%)
CIE-LABlab(30.42, 22.83, -45.27)
CIE-LCHlch(30.42, 50.70, 296.76°)
OKLaboklab(40.91% 0.0131 -0.1298)
OKLCHoklch(40.91% 0.13 275.8)
XYZxyz(8.4212, 6.4074, 26.7743)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393F8F #8F8939
analogous
#396A8F #393F8F #5E398F
triadic
#393F8F #8F393F #3F8F39
tetradic
#393F8F #8F396A #8F8939 #398F5E
square
#393F8F #8F396A #8F8939 #398F5E
split-complementary
#393F8F #8F5E39 #6A8F39
monochromatic
#161837 #282C63 #393F8F #4D55B8 #797ECA

Accessibility & contrast

On white

9.20
#393F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#393F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393F8F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393F8F#FFFFFF#000000##FFFFFF
##393F8F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #393f8f;
/* rgb */ color: rgb(57, 63, 143);
/* oklch */ color: oklch(40.9% 0.130 275.8);
Tailwind
colors: {
  custom: {
    50: '#7874b0',
    500: '#393f8f',
    950: '#000000',
  },
}
SCSS
$custom: #393f8f;
$custom-light: #7874b0;
$custom-dark: #000000;
JSON
{
  "hex": "#393f8f",
  "rgb": {
    "r": 57,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 235.814,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40913,
    "c": 0.13043,
    "h": 275.8
  },
  "luminance": 0.06408
}

Semantic roles & 50–950 ramp

primary
#393F8F
secondary
#B3AE71
accent
#CA55D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090811
muted
#7B7B80

Preview Lab

Preview with #393F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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