#392E97#392E97

#392E97 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.164 H 280.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#392E97
RGBrgb(57, 46, 151)
HSLhsl(246, 53%, 39%)
HSVhsv(246, 70%, 59%)
CMYKcmyk(62.3%, 69.5%, 0%, 40.8%)
CIE-LABlab(26.90, 36.46, -55.91)
CIE-LCHlch(26.90, 66.75, 303.11°)
OKLaboklab(38.53% 0.0289 -0.1611)
OKLCHoklch(38.53% 0.164 280.2)
XYZxyz(8.2485, 5.0576, 29.8137)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392E97 #8C972E
analogous
#2E5797 #392E97 #6D2E97
triadic
#392E97 #97392E #2E9739
tetradic
#392E97 #972E57 #8C972E #2E976D
square
#392E97 #972E57 #8C972E #2E976D
split-complementary
#392E97 #976D2E #57972E
monochromatic
#161139 #272068 #392E97 #4C3EC4 #786DD2

Accessibility & contrast

On white

10.44
#392E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#392E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392E97
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392E97#FFFFFF#000000##FFFFFF
##392E971.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #392e97;
/* rgb */ color: rgb(57, 46, 151);
/* oklch */ color: oklch(38.5% 0.164 280.2);
Tailwind
colors: {
  custom: {
    50: '#7b68b7',
    500: '#392e97',
    950: '#000000',
  },
}
SCSS
$custom: #392e97;
$custom-light: #7b68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#392e97",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 246.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38534,
    "c": 0.1637,
    "h": 280.2
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#392E97
secondary
#B1BA67
accent
#DD4BCD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #392E97

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

Preview Lab → · Contrast checker → · Palette generator →

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