#392EB2#392EB2

#392EB2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.2% C 0.198 H 276.9°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#392EB2
RGBrgb(57, 46, 178)
HSLhsl(245, 59%, 44%)
HSVhsv(245, 74%, 70%)
CMYKcmyk(68%, 74.2%, 0%, 30.2%)
CIE-LABlab(29.51, 45.26, -67.95)
CIE-LCHlch(29.51, 81.64, 303.67°)
OKLaboklab(41.19% 0.0239 -0.1963)
OKLCHoklch(41.19% 0.198 276.9)
XYZxyz(10.6976, 6.0373, 42.7124)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#392EB2 #A7B22E
analogous
#2E65B2 #392EB2 #7B2EB2
triadic
#392EB2 #B2392E #2EB239
tetradic
#392EB2 #B22E65 #A7B22E #2EB27B
square
#392EB2 #B22E65 #A7B22E #2EB27B
split-complementary
#392EB2 #B27B2E #65B22E
monochromatic
#1A1551 #292181 #392EB2 #574CD1 #857DDD

Accessibility & contrast

On white

9.51
#392EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#392EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #392EB2
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##392EB2#FFFFFF#000000##FFFFFF
##392EB21.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #392eb2;
/* rgb */ color: rgb(57, 46, 178);
/* oklch */ color: oklch(41.2% 0.198 276.9);
Tailwind
colors: {
  custom: {
    50: '#8069ca',
    500: '#392eb2',
    950: '#000000',
  },
}
SCSS
$custom: #392eb2;
$custom-light: #8069ca;
$custom-dark: #000000;
JSON
{
  "hex": "#392eb2",
  "rgb": {
    "r": 57,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 245,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41185,
    "c": 0.19777,
    "h": 276.9
  },
  "luminance": 0.06038
}

Semantic roles & 50–950 ramp

primary
#392EB2
secondary
#BFC676
accent
#E246D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #392EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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