#392DA7#392DA7

#392DA7 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.185 H 278.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#392DA7
RGBrgb(57, 45, 167)
HSLhsl(246, 58%, 42%)
HSVhsv(246, 73%, 65%)
CMYKcmyk(65.9%, 73.1%, 0%, 34.5%)
CIE-LABlab(28.21, 42.28, -63.48)
CIE-LCHlch(28.21, 76.28, 303.66°)
OKLaboklab(39.93% 0.0268 -0.1833)
OKLCHoklch(39.93% 0.185 278.3)
XYZxyz(9.5985, 5.5359, 37.1144)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392DA7 #9BA72D
analogous
#2D5EA7 #392DA7 #762DA7
triadic
#392DA7 #A7392D #2DA739
tetradic
#392DA7 #A72D5E #9BA72D #2DA776
square
#392DA7 #A72D5E #9BA72D #2DA776
split-complementary
#392DA7 #A7762D #5EA72D
monochromatic
#181347 #292077 #392DA7 #5244CD #7F75DA

Accessibility & contrast

On white

9.96
#392DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#392DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392DA7
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392DA7#FFFFFF#000000##FFFFFF
##392DA71.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003EA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392da7;
/* rgb */ color: rgb(57, 45, 167);
/* oklch */ color: oklch(39.9% 0.185 278.3);
Tailwind
colors: {
  custom: {
    50: '#7e68c2',
    500: '#392da7',
    950: '#000000',
  },
}
SCSS
$custom: #392da7;
$custom-light: #7e68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#392da7",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 167
  },
  "hsl": {
    "h": 245.902,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.18523,
    "h": 278.3
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#392DA7
secondary
#B9C16E
accent
#E147D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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