#382CB7#382CB7

#382CB7 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.206 H 276.3°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#382CB7
RGBrgb(56, 44, 183)
HSLhsl(245, 61%, 45%)
HSVhsv(245, 76%, 72%)
CMYKcmyk(69.4%, 76%, 0%, 28.2%)
CIE-LABlab(29.56, 47.83, -70.83)
CIE-LCHlch(29.56, 85.47, 304.03°)
OKLaboklab(41.36% 0.0226 -0.2047)
OKLCHoklch(41.36% 0.206 276.3)
XYZxyz(11.0760, 6.0600, 45.3766)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB7 #ABB72C
analogous
#2C66B7 #382CB7 #7E2CB7
triadic
#382CB7 #B7382C #2CB738
tetradic
#382CB7 #B72C66 #ABB72C #2CB77E
square
#382CB7 #B72C66 #ABB72C #2CB77E
split-complementary
#382CB7 #B77E2C #66B72C
monochromatic
#1A1454 #292086 #382CB7 #584CD4 #867EE0

Accessibility & contrast

On white

9.49
#382CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382CB7
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB7#FFFFFF#000000##FFFFFF
##382CB71.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382cb7;
/* rgb */ color: rgb(56, 44, 183);
/* oklch */ color: oklch(41.4% 0.206 276.3);
Tailwind
colors: {
  custom: {
    50: '#8168ce',
    500: '#382cb7',
    950: '#000000',
  },
}
SCSS
$custom: #382cb7;
$custom-light: #8168ce;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb7",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 245.18,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4136,
    "c": 0.20597,
    "h": 276.3
  },
  "luminance": 0.06061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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