#392FA8#392FA8

#392FA8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.184 H 277.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#392FA8
RGBrgb(57, 47, 168)
HSLhsl(245, 56%, 42%)
HSVhsv(245, 72%, 66%)
CMYKcmyk(66.1%, 72%, 0%, 34.1%)
CIE-LABlab(28.72, 41.46, -63.25)
CIE-LCHlch(28.72, 75.63, 303.25°)
OKLaboklab(40.33% 0.0252 -0.1826)
OKLCHoklch(40.33% 0.184 277.9)
XYZxyz(9.7695, 5.7292, 37.6292)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392FA8 #9EA82F
analogous
#2F61A8 #392FA8 #762FA8
triadic
#392FA8 #A8392F #2FA839
tetradic
#392FA8 #A82F61 #9EA82F #2FA876
square
#392FA8 #A82F61 #9EA82F #2FA876
split-complementary
#392FA8 #A8762F #61A82F
monochromatic
#191448 #292278 #392FA8 #5348CC #8078D9

Accessibility & contrast

On white

9.79
#392FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#392FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392FA8
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392FA8#FFFFFF#000000##FFFFFF
##392FA81.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #392fa8;
/* rgb */ color: rgb(57, 47, 168);
/* oklch */ color: oklch(40.3% 0.184 277.9);
Tailwind
colors: {
  custom: {
    50: '#7e69c3',
    500: '#392fa8',
    950: '#000000',
  },
}
SCSS
$custom: #392fa8;
$custom-light: #7e69c3;
$custom-dark: #000000;
JSON
{
  "hex": "#392fa8",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 244.959,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.18434,
    "h": 277.9
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#392FA8
secondary
#BBC171
accent
#E048D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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