#392DA8#392DA8

#392DA8 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.186 H 278.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#392DA8
RGBrgb(57, 45, 168)
HSLhsl(246, 58%, 42%)
HSVhsv(246, 73%, 66%)
CMYKcmyk(66.1%, 73.2%, 0%, 34.1%)
CIE-LABlab(28.31, 42.60, -63.93)
CIE-LCHlch(28.31, 76.82, 303.68°)
OKLaboklab(40.03% 0.0266 -0.1846)
OKLCHoklch(40.03% 0.186 278.2)
XYZxyz(9.6913, 5.5730, 37.6032)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392DA8 #9CA82D
analogous
#2D5FA8 #392DA8 #772DA8
triadic
#392DA8 #A8392D #2DA839
tetradic
#392DA8 #A82D5F #9CA82D #2DA877
square
#392DA8 #A82D5F #9CA82D #2DA877
split-complementary
#392DA8 #A8772D #5FA82D
monochromatic
#181347 #292078 #392DA8 #5245CD #7F75DA

Accessibility & contrast

On white

9.93
#392DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392DA8
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392DA8#FFFFFF#000000##FFFFFF
##392DA81.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003EA6
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #392da8;
/* rgb */ color: rgb(57, 45, 168);
/* oklch */ color: oklch(40.0% 0.186 278.2);
Tailwind
colors: {
  custom: {
    50: '#7e68c3',
    500: '#392da8',
    950: '#000000',
  },
}
SCSS
$custom: #392da8;
$custom-light: #7e68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#392da8",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 245.854,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40035,
    "c": 0.18648,
    "h": 278.2
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #392DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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