#382C8B#382C8B

#382C8B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.150 H 281.9°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#382C8B
RGBrgb(56, 44, 139)
HSLhsl(248, 52%, 36%)
HSVhsv(248, 68%, 55%)
CMYKcmyk(59.7%, 68.3%, 0%, 45.5%)
CIE-LABlab(25.28, 33.55, -51.16)
CIE-LCHlch(25.28, 61.17, 303.25°)
OKLaboklab(37.01% 0.031 -0.1472)
OKLCHoklch(37.01% 0.15 281.9)
XYZxyz(7.1903, 4.5057, 24.9119)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C8B #7F8B2C
analogous
#2C4F8B #382C8B #672C8B
triadic
#382C8B #8B382C #2C8B38
tetradic
#382C8B #8B2C4F #7F8B2C #2C8B67
square
#382C8B #8B2C4F #7F8B2C #2C8B67
split-complementary
#382C8B #8B672C #4F8B2C
monochromatic
#130F2E #251D5D #382C8B #4B3BB9 #7164CE

Accessibility & contrast

On white

11.05
#382C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#382C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C8B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C8B#FFFFFF#000000##FFFFFF
##382C8B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#054457
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382c8b;
/* rgb */ color: rgb(56, 44, 139);
/* oklch */ color: oklch(37.0% 0.150 281.9);
Tailwind
colors: {
  custom: {
    50: '#7866ae',
    500: '#382c8b',
    950: '#000000',
  },
}
SCSS
$custom: #382c8b;
$custom-light: #7866ae;
$custom-dark: #000000;
JSON
{
  "hex": "#382c8b",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 247.579,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37009,
    "c": 0.15044,
    "h": 281.9
  },
  "luminance": 0.04506
}

Semantic roles & 50–950 ramp

primary
#382C8B
secondary
#A9B45F
accent
#DB4CC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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