#382DB9#382DB9

#382DB9 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.207 H 276.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#382DB9
RGBrgb(56, 45, 185)
HSLhsl(245, 61%, 45%)
HSVhsv(245, 76%, 73%)
CMYKcmyk(69.7%, 75.7%, 0%, 27.5%)
CIE-LABlab(29.96, 47.93, -71.37)
CIE-LCHlch(29.96, 85.97, 303.88°)
OKLaboklab(41.7% 0.0216 -0.2063)
OKLCHoklch(41.7% 0.207 276)
XYZxyz(11.3234, 6.2193, 46.4932)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DB9 #AEB92D
analogous
#2D68B9 #382DB9 #7E2DB9
triadic
#382DB9 #B9382D #2DB938
tetradic
#382DB9 #B92D68 #AEB92D #2DB97E
square
#382DB9 #B92D68 #AEB92D #2DB97E
split-complementary
#382DB9 #B97E2D #68B92D
monochromatic
#1A1557 #292188 #382DB9 #594FD4 #8880E0

Accessibility & contrast

On white

9.36
#382DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#382DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DB9
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DB9#FFFFFF#000000##FFFFFF
##382DB91.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382db9;
/* rgb */ color: rgb(56, 45, 185);
/* oklch */ color: oklch(41.7% 0.207 276.0);
Tailwind
colors: {
  custom: {
    50: '#8169cf',
    500: '#382db9',
    950: '#000000',
  },
}
SCSS
$custom: #382db9;
$custom-light: #8169cf;
$custom-dark: #000000;
JSON
{
  "hex": "#382db9",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 244.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.20743,
    "h": 276
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#382DB9
secondary
#C3C979
accent
#E444D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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