#392BA7#392BA7

#392BA7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.187 H 278.6°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#392BA7
RGBrgb(57, 43, 167)
HSLhsl(247, 59%, 41%)
HSVhsv(247, 74%, 65%)
CMYKcmyk(65.9%, 74.3%, 0%, 34.5%)
CIE-LABlab(27.81, 43.40, -64.14)
CIE-LCHlch(27.81, 77.45, 304.08°)
OKLaboklab(39.65% 0.0281 -0.1852)
OKLCHoklch(39.65% 0.187 278.6)
XYZxyz(9.5240, 5.3868, 37.0896)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392BA7 #99A72B
analogous
#2B5BA7 #392BA7 #772BA7
triadic
#392BA7 #A7392B #2BA739
tetradic
#392BA7 #A72B5B #99A72B #2BA777
square
#392BA7 #A72B5B #99A72B #2BA777
split-complementary
#392BA7 #A7772B #5BA72B
monochromatic
#181246 #281E76 #392BA7 #5141CE #7E72DB

Accessibility & contrast

On white

10.11
#392BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#392BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392BA7
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392BA7#FFFFFF#000000##FFFFFF
##392BA71.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #392ba7;
/* rgb */ color: rgb(57, 43, 167);
/* oklch */ color: oklch(39.7% 0.187 278.6);
Tailwind
colors: {
  custom: {
    50: '#7e67c2',
    500: '#392ba7',
    950: '#000000',
  },
}
SCSS
$custom: #392ba7;
$custom-light: #7e67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#392ba7",
  "rgb": {
    "r": 57,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 246.774,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39651,
    "c": 0.18732,
    "h": 278.6
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#392BA7
secondary
#B8C26C
accent
#E246D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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