#382CB1#382CB1

#382CB1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.7% C 0.199 H 276.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#382CB1
RGBrgb(56, 44, 177)
HSLhsl(245, 60%, 43%)
HSVhsv(245, 75%, 69%)
CMYKcmyk(68.4%, 75.1%, 0%, 30.6%)
CIE-LABlab(28.94, 45.93, -68.28)
CIE-LCHlch(28.94, 82.29, 303.93°)
OKLaboklab(40.74% 0.0239 -0.1973)
OKLCHoklch(40.74% 0.199 276.9)
XYZxyz(10.4648, 5.8155, 42.1575)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB1 #A5B12C
analogous
#2C62B1 #382CB1 #7B2CB1
triadic
#382CB1 #B1382C #2CB138
tetradic
#382CB1 #B12C62 #A5B12C #2CB17B
square
#382CB1 #B12C62 #A5B12C #2CB17B
split-complementary
#382CB1 #B17B2C #62B12C
monochromatic
#19144F #282080 #382CB1 #5549D2 #837ADE

Accessibility & contrast

On white

9.71
#382CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#382CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CB1
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB1#FFFFFF#000000##FFFFFF
##382CB11.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382cb1;
/* rgb */ color: rgb(56, 44, 177);
/* oklch */ color: oklch(40.7% 0.199 276.9);
Tailwind
colors: {
  custom: {
    50: '#8068ca',
    500: '#382cb1',
    950: '#000000',
  },
}
SCSS
$custom: #382cb1;
$custom-light: #8068ca;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb1",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 245.414,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40737,
    "c": 0.19876,
    "h": 276.9
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#382CB1
secondary
#BEC673
accent
#E344D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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