#392FA2#392FA2

#392FA2 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.177 H 278.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#392FA2
RGBrgb(57, 47, 162)
HSLhsl(245, 55%, 41%)
HSVhsv(245, 71%, 64%)
CMYKcmyk(64.8%, 71%, 0%, 36.5%)
CIE-LABlab(28.14, 39.49, -60.57)
CIE-LCHlch(28.14, 72.31, 303.11°)
OKLaboklab(39.74% 0.0263 -0.1748)
OKLCHoklch(39.74% 0.177 278.6)
XYZxyz(9.2233, 5.5108, 34.7531)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FA2 #98A22F
analogous
#2F5EA2 #392FA2 #722FA2
triadic
#392FA2 #A2392F #2FA239
tetradic
#392FA2 #A22F5E #98A22F #2FA272
square
#392FA2 #A22F5E #98A22F #2FA272
split-complementary
#392FA2 #A2722F #5EA22F
monochromatic
#181343 #282173 #392FA2 #5145C9 #7D75D7

Accessibility & contrast

On white

9.99
#392FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392FA2
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FA2#FFFFFF#000000##FFFFFF
##392FA21.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392fa2;
/* rgb */ color: rgb(57, 47, 162);
/* oklch */ color: oklch(39.7% 0.177 278.6);
Tailwind
colors: {
  custom: {
    50: '#7d69bf',
    500: '#392fa2',
    950: '#000000',
  },
}
SCSS
$custom: #392fa2;
$custom-light: #7d69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#392fa2",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 245.217,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39741,
    "c": 0.17675,
    "h": 278.6
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

primary
#392FA2
secondary
#B8BF6E
accent
#DE49D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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