#382CB6#382CB6

#382CB6 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.205 H 276.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#382CB6
RGBrgb(56, 44, 182)
HSLhsl(245, 61%, 44%)
HSVhsv(245, 76%, 71%)
CMYKcmyk(69.2%, 75.8%, 0%, 28.6%)
CIE-LABlab(29.46, 47.51, -70.41)
CIE-LCHlch(29.46, 84.94, 304.01°)
OKLaboklab(41.26% 0.0228 -0.2035)
OKLCHoklch(41.26% 0.205 276.4)
XYZxyz(10.9723, 6.0185, 44.8304)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB6 #AAB62C
analogous
#2C65B6 #382CB6 #7D2CB6
triadic
#382CB6 #B6382C #2CB638
tetradic
#382CB6 #B62C65 #AAB62C #2CB67D
square
#382CB6 #B62C65 #AAB62C #2CB67D
split-complementary
#382CB6 #B67D2C #65B62C
monochromatic
#1A1453 #292085 #382CB6 #574CD4 #857DE0

Accessibility & contrast

On white

9.53
#382CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#382CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CB6
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB6#FFFFFF#000000##FFFFFF
##382CB61.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382cb6;
/* rgb */ color: rgb(56, 44, 182);
/* oklch */ color: oklch(41.3% 0.205 276.4);
Tailwind
colors: {
  custom: {
    50: '#8168cd',
    500: '#382cb6',
    950: '#000000',
  },
}
SCSS
$custom: #382cb6;
$custom-light: #8168cd;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb6",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 245.217,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41256,
    "c": 0.20479,
    "h": 276.4
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#382CB6
secondary
#C1C876
accent
#E444D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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