#382B82#382B82

#382B82 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.140 H 283.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#382B82
RGBrgb(56, 43, 130)
HSLhsl(249, 50%, 34%)
HSVhsv(249, 67%, 51%)
CMYKcmyk(56.9%, 66.9%, 0%, 49%)
CIE-LABlab(24.26, 31.19, -47.19)
CIE-LCHlch(24.26, 56.57, 303.46°)
OKLaboklab(36.03% 0.0331 -0.1356)
OKLCHoklch(36.03% 0.14 283.7)
XYZxyz(6.5228, 4.1798, 21.5778)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B82 #75822B
analogous
#2B4A82 #382B82 #642B82
triadic
#382B82 #82382B #2B8238
tetradic
#382B82 #822B4A #75822B #2B8264
square
#382B82 #822B4A #75822B #2B8264
split-complementary
#382B82 #82642B #4A822B
monochromatic
#100D26 #241C54 #382B82 #4C3AB0 #6E5ECA

Accessibility & contrast

On white

11.44
#382B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#382B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B82
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B82#FFFFFF#000000##FFFFFF
##382B821.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#164152
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382b82;
/* rgb */ color: rgb(56, 43, 130);
/* oklch */ color: oklch(36.0% 0.140 283.7);
Tailwind
colors: {
  custom: {
    50: '#7765a7',
    500: '#382b82',
    950: '#000000',
  },
}
SCSS
$custom: #382b82;
$custom-light: #7765a7;
$custom-dark: #000000;
JSON
{
  "hex": "#382b82",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 248.966,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36026,
    "c": 0.13957,
    "h": 283.7
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#382B82
secondary
#A3B059
accent
#DA4EC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #382B82

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

Preview Lab → · Contrast checker → · Palette generator →

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