#382ABA#382ABA

#382ABA is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.211 H 276.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#382ABA
RGBrgb(56, 42, 186)
HSLhsl(246, 63%, 45%)
HSVhsv(246, 77%, 73%)
CMYKcmyk(69.9%, 77.4%, 0%, 27.1%)
CIE-LABlab(29.52, 49.81, -72.69)
CIE-LCHlch(29.52, 88.12, 304.42°)
OKLaboklab(41.42% 0.0229 -0.2101)
OKLCHoklch(41.42% 0.211 276.2)
XYZxyz(11.3189, 6.0408, 47.0143)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382ABA #ACBA2A
analogous
#2A64BA #382ABA #802ABA
triadic
#382ABA #BA382A #2ABA38
tetradic
#382ABA #BA2A64 #ACBA2A #2ABA80
square
#382ABA #BA2A64 #ACBA2A #2ABA80
split-complementary
#382ABA #BA802A #64BA2A
monochromatic
#1A1356 #291F88 #382ABA #584BD6 #877DE2

Accessibility & contrast

On white

9.51
#382ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#382ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382ABA
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382ABA#FFFFFF#000000##FFFFFF
##382ABA1.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)
#004CBE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382aba;
/* rgb */ color: rgb(56, 42, 186);
/* oklch */ color: oklch(41.4% 0.211 276.2);
Tailwind
colors: {
  custom: {
    50: '#8267d0',
    500: '#382aba',
    950: '#000000',
  },
}
SCSS
$custom: #382aba;
$custom-light: #8267d0;
$custom-dark: #000000;
JSON
{
  "hex": "#382aba",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 245.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.21136,
    "h": 276.2
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#382ABA
secondary
#C2CA76
accent
#E642D6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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