#392FA7#392FA7

#392FA7 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.183 H 278.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#392FA7
RGBrgb(57, 47, 167)
HSLhsl(245, 56%, 42%)
HSVhsv(245, 72%, 65%)
CMYKcmyk(65.9%, 71.9%, 0%, 34.5%)
CIE-LABlab(28.62, 41.13, -62.81)
CIE-LCHlch(28.62, 75.08, 303.22°)
OKLaboklab(40.23% 0.0254 -0.1813)
OKLCHoklch(40.23% 0.183 278)
XYZxyz(9.6767, 5.6921, 37.1405)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FA7 #9DA72F
analogous
#2F61A7 #392FA7 #752FA7
triadic
#392FA7 #A7392F #2FA739
tetradic
#392FA7 #A72F61 #9DA72F #2FA775
square
#392FA7 #A72F61 #9DA72F #2FA775
split-complementary
#392FA7 #A7752F #61A72F
monochromatic
#181447 #292277 #392FA7 #5348CB #8078D9

Accessibility & contrast

On white

9.82
#392FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#392FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392FA7
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FA7#FFFFFF#000000##FFFFFF
##392FA71.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392fa7;
/* rgb */ color: rgb(57, 47, 167);
/* oklch */ color: oklch(40.2% 0.183 278.0);
Tailwind
colors: {
  custom: {
    50: '#7e69c2',
    500: '#392fa7',
    950: '#000000',
  },
}
SCSS
$custom: #392fa7;
$custom-light: #7e69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#392fa7",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 245,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40229,
    "c": 0.18309,
    "h": 278
  },
  "luminance": 0.05693
}

Semantic roles & 50–950 ramp

primary
#392FA7
secondary
#BAC171
accent
#DF48D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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