#382CA6#382CA6

#382CA6 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.185 H 278.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#382CA6
RGBrgb(56, 44, 166)
HSLhsl(246, 58%, 41%)
HSVhsv(246, 73%, 65%)
CMYKcmyk(66.3%, 73.5%, 0%, 34.9%)
CIE-LABlab(27.83, 42.40, -63.51)
CIE-LCHlch(27.83, 76.36, 303.73°)
OKLaboklab(39.62% 0.0263 -0.1834)
OKLCHoklch(39.62% 0.185 278.1)
XYZxyz(9.4123, 5.3945, 36.6142)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CA6 #9AA62C
analogous
#2C5DA6 #382CA6 #752CA6
triadic
#382CA6 #A6382C #2CA638
tetradic
#382CA6 #A62C5D #9AA62C #2CA675
square
#382CA6 #A62C5D #9AA62C #2CA675
split-complementary
#382CA6 #A6752C #5DA62C
monochromatic
#171245 #281F76 #382CA6 #5042CD #7D73DA

Accessibility & contrast

On white

10.10
#382CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#382CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CA6
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CA6#FFFFFF#000000##FFFFFF
##382CA61.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382ca6;
/* rgb */ color: rgb(56, 44, 166);
/* oklch */ color: oklch(39.6% 0.185 278.1);
Tailwind
colors: {
  custom: {
    50: '#7e67c2',
    500: '#382ca6',
    950: '#000000',
  },
}
SCSS
$custom: #382ca6;
$custom-light: #7e67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#382ca6",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 245.902,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39616,
    "c": 0.18525,
    "h": 278.1
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#382CA6
secondary
#B9C16D
accent
#E146D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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