#382AB6#382AB6

#382AB6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.207 H 276.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#382AB6
RGBrgb(56, 42, 182)
HSLhsl(246, 63%, 44%)
HSVhsv(246, 77%, 71%)
CMYKcmyk(69.2%, 76.9%, 0%, 28.6%)
CIE-LABlab(29.09, 48.56, -71.02)
CIE-LCHlch(29.09, 86.04, 304.37°)
OKLaboklab(41% 0.0239 -0.2053)
OKLCHoklch(41% 0.207 276.6)
XYZxyz(10.8996, 5.8731, 44.8061)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AB6 #A8B62A
analogous
#2A62B6 #382AB6 #7E2AB6
triadic
#382AB6 #B6382A #2AB638
tetradic
#382AB6 #B62A62 #A8B62A #2AB67E
square
#382AB6 #B62A62 #A8B62A #2AB67E
split-complementary
#382AB6 #B67E2A #62B62A
monochromatic
#191353 #291F84 #382AB6 #5648D5 #847AE0

Accessibility & contrast

On white

9.66
#382AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#382AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AB6
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AB6#FFFFFF#000000##FFFFFF
##382AB61.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382ab6;
/* rgb */ color: rgb(56, 42, 182);
/* oklch */ color: oklch(41.0% 0.207 276.6);
Tailwind
colors: {
  custom: {
    50: '#8167cd',
    500: '#382ab6',
    950: '#000000',
  },
}
SCSS
$custom: #382ab6;
$custom-light: #8167cd;
$custom-dark: #000000;
JSON
{
  "hex": "#382ab6",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 246,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40996,
    "c": 0.20664,
    "h": 276.6
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#382AB6
secondary
#C0C873
accent
#E642D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382AB6

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

Preview Lab → · Contrast checker → · Palette generator →

#382AB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva