#382D8D#382D8D

#382D8D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.152 H 281.3°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#382D8D
RGBrgb(56, 45, 141)
HSLhsl(247, 52%, 36%)
HSVhsv(247, 68%, 55%)
CMYKcmyk(60.3%, 68.1%, 0%, 44.7%)
CIE-LABlab(25.68, 33.59, -51.73)
CIE-LCHlch(25.68, 61.68, 303.00°)
OKLaboklab(37.36% 0.0298 -0.1489)
OKLCHoklch(37.36% 0.152 281.3)
XYZxyz(7.3755, 4.6401, 25.7011)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D8D #828D2D
analogous
#2D528D #382D8D #682D8D
triadic
#382D8D #8D382D #2D8D38
tetradic
#382D8D #8D2D52 #828D2D #2D8D68
square
#382D8D #8D2D52 #828D2D #2D8D68
split-complementary
#382D8D #8D682D #528D2D
monochromatic
#130F30 #261E5F #382D8D #4A3CBB #7266CE

Accessibility & contrast

On white

10.89
#382D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#382D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D8D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D8D#FFFFFF#000000##FFFFFF
##382D8D1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382d8d;
/* rgb */ color: rgb(56, 45, 141);
/* oklch */ color: oklch(37.4% 0.152 281.3);
Tailwind
colors: {
  custom: {
    50: '#7867af',
    500: '#382d8d',
    950: '#000000',
  },
}
SCSS
$custom: #382d8d;
$custom-light: #7867af;
$custom-dark: #000000;
JSON
{
  "hex": "#382d8d",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 246.875,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.15187,
    "h": 281.3
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#382D8D
secondary
#ABB561
accent
#DB4DCB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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