#392E9D#392E9D

#392E9D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.171 H 279.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#392E9D
RGBrgb(57, 46, 157)
HSLhsl(246, 55%, 40%)
HSVhsv(246, 71%, 62%)
CMYKcmyk(63.7%, 70.7%, 0%, 38.4%)
CIE-LABlab(27.46, 38.44, -58.66)
CIE-LCHlch(27.46, 70.13, 303.24°)
OKLaboklab(39.11% 0.0279 -0.1692)
OKLCHoklch(39.11% 0.171 279.4)
XYZxyz(8.7482, 5.2575, 32.4455)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392E9D #929D2E
analogous
#2E5B9D #392E9D #712E9D
triadic
#392E9D #9D392E #2E9D39
tetradic
#392E9D #9D2E5B #929D2E #2E9D71
square
#392E9D #9D2E5B #929D2E #2E9D71
split-complementary
#392E9D #9D712E #5B9D2E
monochromatic
#17123E #28206E #392E9D #4E41C7 #7A70D5

Accessibility & contrast

On white

10.24
#392E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#392E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392E9D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392E9D#FFFFFF#000000##FFFFFF
##392E9D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #392e9d;
/* rgb */ color: rgb(57, 46, 157);
/* oklch */ color: oklch(39.1% 0.171 279.4);
Tailwind
colors: {
  custom: {
    50: '#7c68bb',
    500: '#392e9d',
    950: '#000000',
  },
}
SCSS
$custom: #392e9d;
$custom-light: #7c68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#392e9d",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 245.946,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39105,
    "c": 0.17147,
    "h": 279.4
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#392E9D
secondary
#B4BD6A
accent
#DE4ACF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #392E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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