#382CAB#382CAB

#382CAB is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.191 H 277.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#382CAB
RGBrgb(56, 44, 171)
HSLhsl(246, 59%, 42%)
HSVhsv(246, 74%, 67%)
CMYKcmyk(67.3%, 74.3%, 0%, 32.9%)
CIE-LABlab(28.33, 44.01, -65.70)
CIE-LCHlch(28.33, 79.08, 303.82°)
OKLaboklab(40.12% 0.0252 -0.1898)
OKLCHoklch(40.12% 0.191 277.6)
XYZxyz(9.8799, 5.5815, 39.0769)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CAB #9FAB2C
analogous
#2C60AB #382CAB #772CAB
triadic
#382CAB #AB382C #2CAB38
tetradic
#382CAB #AB2C60 #9FAB2C #2CAB77
square
#382CAB #AB2C60 #9FAB2C #2CAB77
split-complementary
#382CAB #AB772C #60AB2C
monochromatic
#18134A #281F7A #382CAB #5245CF #7F76DC

Accessibility & contrast

On white

9.92
#382CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#382CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CAB
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CAB#FFFFFF#000000##FFFFFF
##382CAB1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382cab;
/* rgb */ color: rgb(56, 44, 171);
/* oklch */ color: oklch(40.1% 0.191 277.6);
Tailwind
colors: {
  custom: {
    50: '#7f67c5',
    500: '#382cab',
    950: '#000000',
  },
}
SCSS
$custom: #382cab;
$custom-light: #7f67c5;
$custom-dark: #000000;
JSON
{
  "hex": "#382cab",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 245.669,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40122,
    "c": 0.19144,
    "h": 277.6
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#382CAB
secondary
#BBC36F
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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