#392D8F#392D8F

#392D8F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.154 H 281.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#392D8F
RGBrgb(57, 45, 143)
HSLhsl(247, 52%, 37%)
HSVhsv(247, 69%, 56%)
CMYKcmyk(60.1%, 68.5%, 0%, 43.9%)
CIE-LABlab(25.95, 34.42, -52.54)
CIE-LCHlch(25.95, 62.81, 303.23°)
OKLaboklab(37.63% 0.0309 -0.1512)
OKLCHoklch(37.63% 0.154 281.6)
XYZxyz(7.5821, 4.7293, 26.4946)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392D8F #838F2D
analogous
#2D528F #392D8F #6A2D8F
triadic
#392D8F #8F392D #2D8F39
tetradic
#392D8F #8F2D52 #838F2D #2D8F6A
square
#392D8F #8F2D52 #838F2D #2D8F6A
split-complementary
#392D8F #8F6A2D #528F2D
monochromatic
#141032 #261E60 #392D8F #4C3CBE #7467CF

Accessibility & contrast

On white

10.79
#392D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#392D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392D8F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392D8F#FFFFFF#000000##FFFFFF
##392D8F1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#01465A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #392d8f;
/* rgb */ color: rgb(57, 45, 143);
/* oklch */ color: oklch(37.6% 0.154 281.6);
Tailwind
colors: {
  custom: {
    50: '#7967b1',
    500: '#392d8f',
    950: '#000000',
  },
}
SCSS
$custom: #392d8f;
$custom-light: #7967b1;
$custom-dark: #000000;
JSON
{
  "hex": "#392d8f",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 247.347,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37626,
    "c": 0.15437,
    "h": 281.6
  },
  "luminance": 0.0473
}

Semantic roles & 50–950 ramp

primary
#392D8F
secondary
#ACB662
accent
#DC4CCA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #392D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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