#382AB5#382AB5

#382AB5 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.205 H 276.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#382AB5
RGBrgb(56, 42, 181)
HSLhsl(246, 62%, 44%)
HSVhsv(246, 77%, 71%)
CMYKcmyk(69.1%, 76.8%, 0%, 29%)
CIE-LABlab(28.98, 48.25, -70.60)
CIE-LCHlch(28.98, 85.51, 304.35°)
OKLaboklab(40.89% 0.0241 -0.204)
OKLCHoklch(40.89% 0.205 276.7)
XYZxyz(10.7966, 5.8319, 44.2638)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AB5 #A7B52A
analogous
#2A61B5 #382AB5 #7D2AB5
triadic
#382AB5 #B5382A #2AB538
tetradic
#382AB5 #B52A61 #A7B52A #2AB57D
square
#382AB5 #B52A61 #A7B52A #2AB57D
split-complementary
#382AB5 #B57D2A #61B52A
monochromatic
#191352 #291E83 #382AB5 #5648D4 #8479E0

Accessibility & contrast

On white

9.69
#382AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382AB5
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AB5#FFFFFF#000000##FFFFFF
##382AB51.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003EB3
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382ab5;
/* rgb */ color: rgb(56, 42, 181);
/* oklch */ color: oklch(40.9% 0.205 276.7);
Tailwind
colors: {
  custom: {
    50: '#8167cc',
    500: '#382ab5',
    950: '#000000',
  },
}
SCSS
$custom: #382ab5;
$custom-light: #8167cc;
$custom-dark: #000000;
JSON
{
  "hex": "#382ab5",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 246.043,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.20546,
    "h": 276.7
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#382AB5
secondary
#BFC873
accent
#E542D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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