#392D98#392D98

#392D98 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.166 H 280.2°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#392D98
RGBrgb(57, 45, 152)
HSLhsl(247, 54%, 39%)
HSVhsv(247, 70%, 60%)
CMYKcmyk(62.5%, 70.4%, 0%, 40.4%)
CIE-LABlab(26.77, 37.39, -56.73)
CIE-LCHlch(26.77, 67.94, 303.39°)
OKLaboklab(38.47% 0.0295 -0.1635)
OKLCHoklch(38.47% 0.166 280.2)
XYZxyz(8.2914, 5.0130, 30.2304)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D98 #8C982D
analogous
#2D5698 #392D98 #6E2D98
triadic
#392D98 #98392D #2D9839
tetradic
#392D98 #982D56 #8C982D #2D986E
square
#392D98 #982D56 #8C982D #2D986E
split-complementary
#392D98 #986E2D #56982D
monochromatic
#16113A #271F69 #392D98 #4C3DC5 #786CD3

Accessibility & contrast

On white

10.49
#392D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#392D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392D98
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D98#FFFFFF#000000##FFFFFF
##392D981.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #392d98;
/* rgb */ color: rgb(57, 45, 152);
/* oklch */ color: oklch(38.5% 0.166 280.2);
Tailwind
colors: {
  custom: {
    50: '#7b67b7',
    500: '#392d98',
    950: '#000000',
  },
}
SCSS
$custom: #392d98;
$custom-light: #7b67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392d98",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 246.729,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38471,
    "c": 0.16617,
    "h": 280.2
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#392D98
secondary
#B1BA66
accent
#DE4ACD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #392D98

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

Preview Lab → · Contrast checker → · Palette generator →

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