#382B9E#382B9E

#382B9E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.176 H 279.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#382B9E
RGBrgb(56, 43, 158)
HSLhsl(247, 57%, 39%)
HSVhsv(247, 73%, 62%)
CMYKcmyk(64.6%, 72.8%, 0%, 38%)
CIE-LABlab(26.84, 40.38, -60.29)
CIE-LCHlch(26.84, 72.56, 303.81°)
OKLaboklab(38.67% 0.0286 -0.174)
OKLCHoklch(38.67% 0.176 279.3)
XYZxyz(8.6643, 5.0364, 32.8567)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B9E #919E2B
analogous
#2B579E #382B9E #722B9E
triadic
#382B9E #9E382B #2B9E38
tetradic
#382B9E #9E2B57 #919E2B #2B9E72
square
#382B9E #9E2B57 #919E2B #2B9E72
split-complementary
#382B9E #9E722B #579E2B
monochromatic
#16113E #271E6E #382B9E #4C3CCA #786CD7

Accessibility & contrast

On white

10.46
#382B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#382B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B9E
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B9E#FFFFFF#000000##FFFFFF
##382B9E1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382b9e;
/* rgb */ color: rgb(56, 43, 158);
/* oklch */ color: oklch(38.7% 0.176 279.3);
Tailwind
colors: {
  custom: {
    50: '#7c66bc',
    500: '#382b9e',
    950: '#000000',
  },
}
SCSS
$custom: #382b9e;
$custom-light: #7c66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#382b9e",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 246.783,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38672,
    "c": 0.1763,
    "h": 279.3
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#382B9E
secondary
#B4BE67
accent
#E047CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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