#392DB1#392DB1

#392DB1 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.198 H 277.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#392DB1
RGBrgb(57, 45, 177)
HSLhsl(245, 59%, 44%)
HSVhsv(245, 75%, 69%)
CMYKcmyk(67.8%, 74.6%, 0%, 30.6%)
CIE-LABlab(29.21, 45.49, -67.84)
CIE-LCHlch(29.21, 81.68, 303.85°)
OKLaboklab(40.95% 0.0247 -0.196)
OKLCHoklch(40.95% 0.198 277.2)
XYZxyz(10.5590, 5.9200, 42.1727)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392DB1 #A5B12D
analogous
#2D63B1 #392DB1 #7B2DB1
triadic
#392DB1 #B1392D #2DB139
tetradic
#392DB1 #B12D63 #A5B12D #2DB17B
square
#392DB1 #B12D63 #A5B12D #2DB17B
split-complementary
#392DB1 #B17B2D #63B12D
monochromatic
#1A144F #292180 #392DB1 #564AD1 #847BDD

Accessibility & contrast

On white

9.61
#392DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#392DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392DB1
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392DB1#FFFFFF#000000##FFFFFF
##392DB11.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #392db1;
/* rgb */ color: rgb(57, 45, 177);
/* oklch */ color: oklch(40.9% 0.198 277.2);
Tailwind
colors: {
  custom: {
    50: '#8068ca',
    500: '#392db1',
    950: '#000000',
  },
}
SCSS
$custom: #392db1;
$custom-light: #8068ca;
$custom-dark: #000000;
JSON
{
  "hex": "#392db1",
  "rgb": {
    "r": 57,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 245.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.19755,
    "h": 277.2
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#392DB1
secondary
#BEC674
accent
#E345D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #392DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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