#392EAA#392EAA

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

Color values

HEX#392EAA
RGBrgb(57, 46, 170)
HSLhsl(245, 57%, 42%)
HSVhsv(245, 73%, 67%)
CMYKcmyk(66.5%, 72.9%, 0%, 33.3%)
CIE-LABlab(28.71, 42.68, -64.47)
CIE-LCHlch(28.71, 77.32, 303.51°)
OKLaboklab(40.38% 0.0255 -0.1862)
OKLCHoklch(40.38% 0.188 277.8)
XYZxyz(9.9177, 5.7253, 38.6049)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EAA #9FAA2E
analogous
#2E61AA #392EAA #772EAA
triadic
#392EAA #AA392E #2EAA39
tetradic
#392EAA #AA2E61 #9FAA2E #2EAA77
square
#392EAA #AA2E61 #9FAA2E #2EAA77
split-complementary
#392EAA #AA772E #61AA2E
monochromatic
#19144A #29217A #392EAA #5448CD #8178DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##392EAA#FFFFFF#000000##FFFFFF
##392EAA1.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)
#0049AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #392eaa;
/* rgb */ color: rgb(57, 46, 170);
/* oklch */ color: oklch(40.4% 0.188 277.8);
Tailwind
colors: {
  custom: {
    50: '#7f69c4',
    500: '#392eaa',
    950: '#000000',
  },
}
SCSS
$custom: #392eaa;
$custom-light: #7f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#392eaa",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 245.323,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.18791,
    "h": 277.8
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#392EAA
secondary
#BBC371
accent
#E147D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #392EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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