#382B9D#382B9D

#382B9D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.175 H 279.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#382B9D
RGBrgb(56, 43, 157)
HSLhsl(247, 57%, 39%)
HSVhsv(247, 73%, 62%)
CMYKcmyk(64.3%, 72.6%, 0%, 38.4%)
CIE-LABlab(26.74, 40.05, -59.84)
CIE-LCHlch(26.74, 72.01, 303.80°)
OKLaboklab(38.57% 0.0288 -0.1727)
OKLCHoklch(38.57% 0.175 279.5)
XYZxyz(8.5786, 5.0022, 32.4052)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B9D #909D2B
analogous
#2B579D #382B9D #712B9D
triadic
#382B9D #9D382B #2B9D38
tetradic
#382B9D #9D2B57 #909D2B #2B9D71
square
#382B9D #9D2B57 #909D2B #2B9D71
split-complementary
#382B9D #9D712B #579D2B
monochromatic
#16113D #271E6D #382B9D #4C3CCA #786CD7

Accessibility & contrast

On white

10.50
#382B9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#382B9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B9D
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B9D#FFFFFF#000000##FFFFFF
##382B9D1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382b9d;
/* rgb */ color: rgb(56, 43, 157);
/* oklch */ color: oklch(38.6% 0.175 279.5);
Tailwind
colors: {
  custom: {
    50: '#7c66bb',
    500: '#382b9d',
    950: '#000000',
  },
}
SCSS
$custom: #382b9d;
$custom-light: #7c66bb;
$custom-dark: #000000;
JSON
{
  "hex": "#382b9d",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 246.842,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38573,
    "c": 0.17504,
    "h": 279.5
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#382B9D
secondary
#B4BD66
accent
#E048CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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