#392F95#392F95

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

Color values

HEX#392F95
RGBrgb(57, 47, 149)
HSLhsl(246, 52%, 38%)
HSVhsv(246, 68%, 58%)
CMYKcmyk(61.7%, 68.5%, 0%, 41.6%)
CIE-LABlab(26.94, 35.19, -54.61)
CIE-LCHlch(26.94, 64.97, 302.80°)
OKLaboklab(38.51% 0.0283 -0.1573)
OKLCHoklch(38.51% 0.16 280.2)
XYZxyz(8.1270, 5.0722, 28.9787)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392F95 #8B952F
analogous
#2F5895 #392F95 #6C2F95
triadic
#392F95 #95392F #2F9539
tetradic
#392F95 #952F58 #8B952F #2F956C
square
#392F95 #952F58 #8B952F #2F956C
split-complementary
#392F95 #956C2F #58952F
monochromatic
#151238 #272066 #392F95 #4C3FC2 #776DD1

Accessibility & contrast

On white

10.42
#392F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #392F95
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392F95#FFFFFF#000000##FFFFFF
##392F951.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #392f95;
/* rgb */ color: rgb(57, 47, 149);
/* oklch */ color: oklch(38.5% 0.160 280.2);
Tailwind
colors: {
  custom: {
    50: '#7a68b5',
    500: '#392f95',
    950: '#000000',
  },
}
SCSS
$custom: #392f95;
$custom-light: #7a68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#392f95",
  "rgb": {
    "r": 57,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 245.882,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38507,
    "c": 0.15986,
    "h": 280.2
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#392F95
secondary
#B0B867
accent
#DB4CCD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #392F95

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

Preview Lab → · Contrast checker → · Palette generator →

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