#393AAF#393AAF

#393AAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.181 H 275.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#393AAF
RGBrgb(57, 58, 175)
HSLhsl(239, 51%, 45%)
HSVhsv(239, 67%, 69%)
CMYKcmyk(67.4%, 66.9%, 0%, 31.4%)
CIE-LABlab(31.78, 37.22, -62.41)
CIE-LCHlch(31.78, 72.67, 300.81°)
OKLaboklab(42.73% 0.0164 -0.1802)
OKLCHoklch(42.73% 0.181 275.2)
XYZxyz(10.9357, 6.9901, 41.3221)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#393AAF #AFAE39
analogous
#3975AF #393AAF #7339AF
triadic
#393AAF #AF393A #3AAF39
tetradic
#393AAF #AF3975 #AFAE39 #39AF73
square
#393AAF #AF3975 #AFAE39 #39AF73
split-complementary
#393AAF #AF7339 #75AF39
monochromatic
#1B1B53 #2A2B81 #393AAF #5B5CCA #8A8AD9

Accessibility & contrast

On white

8.76
#393AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#393AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #393AAF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##393AAF#FFFFFF#000000##FFFFFF
##393AAF1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #393aaf;
/* rgb */ color: rgb(57, 58, 175);
/* oklch */ color: oklch(42.7% 0.181 275.2);
Tailwind
colors: {
  custom: {
    50: '#7f71c8',
    500: '#393aaf',
    950: '#000000',
  },
}
SCSS
$custom: #393aaf;
$custom-light: #7f71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#393aaf",
  "rgb": {
    "r": 57,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 239.492,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42733,
    "c": 0.18092,
    "h": 275.2
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#393AAF
secondary
#C3C281
accent
#D94DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #393AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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