#392AA7#392AA7

#392AA7 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.188 H 278.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#392AA7
RGBrgb(57, 42, 167)
HSLhsl(247, 60%, 41%)
HSVhsv(247, 75%, 65%)
CMYKcmyk(65.9%, 74.9%, 0%, 34.5%)
CIE-LABlab(27.61, 43.95, -64.47)
CIE-LCHlch(27.61, 78.02, 304.29°)
OKLaboklab(39.51% 0.0287 -0.1861)
OKLCHoklch(39.51% 0.188 278.8)
XYZxyz(9.4881, 5.3150, 37.0776)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392AA7 #98A72A
analogous
#2A59A7 #392AA7 #772AA7
triadic
#392AA7 #A7392A #2AA739
tetradic
#392AA7 #A72A59 #98A72A #2AA777
square
#392AA7 #A72A59 #98A72A #2AA777
split-complementary
#392AA7 #A7772A #59A72A
monochromatic
#181145 #281E76 #392AA7 #513FCF #7D70DB

Accessibility & contrast

On white

10.18
#392AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#392AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392AA7
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392AA7#FFFFFF#000000##FFFFFF
##392AA71.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392aa7;
/* rgb */ color: rgb(57, 42, 167);
/* oklch */ color: oklch(39.5% 0.188 278.8);
Tailwind
colors: {
  custom: {
    50: '#7e66c2',
    500: '#392aa7',
    950: '#000000',
  },
}
SCSS
$custom: #392aa7;
$custom-light: #7e66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#392aa7",
  "rgb": {
    "r": 57,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 247.2,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.18833,
    "h": 278.8
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#392AA7
secondary
#B8C26B
accent
#E345D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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