#392D8D#392D8D

#392D8D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.152 H 281.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#392D8D
RGBrgb(57, 45, 141)
HSLhsl(248, 52%, 36%)
HSVhsv(248, 68%, 55%)
CMYKcmyk(59.6%, 68.1%, 0%, 44.7%)
CIE-LABlab(25.77, 33.76, -51.59)
CIE-LCHlch(25.77, 61.65, 303.20°)
OKLaboklab(37.44% 0.0312 -0.1485)
OKLCHoklch(37.44% 0.152 281.9)
XYZxyz(7.4320, 4.6692, 25.7038)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D8D #818D2D
analogous
#2D518D #392D8D #692D8D
triadic
#392D8D #8D392D #2D8D39
tetradic
#392D8D #8D2D51 #818D2D #2D8D69
square
#392D8D #8D2D51 #818D2D #2D8D69
split-complementary
#392D8D #8D692D #518D2D
monochromatic
#130F30 #261E5F #392D8D #4C3CBB #7366CE

Accessibility & contrast

On white

10.86
#392D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#392D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392D8D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D8D#FFFFFF#000000##FFFFFF
##392D8D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#064659
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #392d8d;
/* rgb */ color: rgb(57, 45, 141);
/* oklch */ color: oklch(37.4% 0.152 281.9);
Tailwind
colors: {
  custom: {
    50: '#7967af',
    500: '#392d8d',
    950: '#000000',
  },
}
SCSS
$custom: #392d8d;
$custom-light: #7967af;
$custom-dark: #000000;
JSON
{
  "hex": "#392d8d",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 247.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37443,
    "c": 0.1517,
    "h": 281.9
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

primary
#392D8D
secondary
#AAB561
accent
#DB4DC9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #392D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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