#382C8D#382C8D

#382C8D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.153 H 281.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#382C8D
RGBrgb(56, 44, 141)
HSLhsl(247, 52%, 36%)
HSVhsv(247, 69%, 55%)
CMYKcmyk(60.3%, 68.8%, 0%, 44.7%)
CIE-LABlab(25.46, 34.21, -52.11)
CIE-LCHlch(25.46, 62.33, 303.29°)
OKLaboklab(37.19% 0.0307 -0.15)
OKLCHoklch(37.19% 0.153 281.6)
XYZxyz(7.3378, 4.5647, 25.6885)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C8D #818D2C
analogous
#2C518D #382C8D #692C8D
triadic
#382C8D #8D382C #2C8D38
tetradic
#382C8D #8D2C51 #818D2C #2C8D69
square
#382C8D #8D2C51 #818D2C #2C8D69
split-complementary
#382C8D #8D692C #518D2C
monochromatic
#130F30 #251D5E #382C8D #4B3BBC #7265CF

Accessibility & contrast

On white

10.98
#382C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#382C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C8D
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C8D#FFFFFF#000000##FFFFFF
##382C8D1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382c8d;
/* rgb */ color: rgb(56, 44, 141);
/* oklch */ color: oklch(37.2% 0.153 281.6);
Tailwind
colors: {
  custom: {
    50: '#7866af',
    500: '#382c8d',
    950: '#000000',
  },
}
SCSS
$custom: #382c8d;
$custom-light: #7866af;
$custom-dark: #000000;
JSON
{
  "hex": "#382c8d",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 247.423,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37194,
    "c": 0.15312,
    "h": 281.6
  },
  "luminance": 0.04565
}

Semantic roles & 50–950 ramp

primary
#382C8D
secondary
#ABB560
accent
#DC4CCA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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