#392FA1#392FA1

#392FA1 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.175 H 278.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#392FA1
RGBrgb(57, 47, 161)
HSLhsl(245, 55%, 41%)
HSVhsv(245, 71%, 63%)
CMYKcmyk(64.6%, 70.8%, 0%, 36.9%)
CIE-LABlab(28.05, 39.17, -60.12)
CIE-LCHlch(28.05, 71.75, 303.08°)
OKLaboklab(39.64% 0.0265 -0.1735)
OKLCHoklch(39.64% 0.175 278.7)
XYZxyz(9.1348, 5.4754, 34.2868)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FA1 #97A12F
analogous
#2F5EA1 #392FA1 #722FA1
triadic
#392FA1 #A1392F #2FA139
tetradic
#392FA1 #A12F5E #97A12F #2FA172
square
#392FA1 #A12F5E #97A12F #2FA172
split-complementary
#392FA1 #A1722F #5EA12F
monochromatic
#171342 #282172 #392FA1 #5045C9 #7D74D6

Accessibility & contrast

On white

10.02
#392FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#392FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392FA1
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FA1#FFFFFF#000000##FFFFFF
##392FA11.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392fa1;
/* rgb */ color: rgb(57, 47, 161);
/* oklch */ color: oklch(39.6% 0.175 278.7);
Tailwind
colors: {
  custom: {
    50: '#7d69be',
    500: '#392fa1',
    950: '#000000',
  },
}
SCSS
$custom: #392fa1;
$custom-light: #7d69be;
$custom-dark: #000000;
JSON
{
  "hex": "#392fa1",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 245.263,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39644,
    "c": 0.17547,
    "h": 278.7
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#392FA1
secondary
#B7BE6E
accent
#DE4AD1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392FA1

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

Preview Lab → · Contrast checker → · Palette generator →

#392FA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva