#382AA9#382AA9

#382AA9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.191 H 278.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#382AA9
RGBrgb(56, 42, 169)
HSLhsl(247, 60%, 41%)
HSVhsv(247, 75%, 66%)
CMYKcmyk(66.9%, 75.1%, 0%, 33.7%)
CIE-LABlab(27.74, 44.47, -65.47)
CIE-LCHlch(27.74, 79.15, 304.19°)
OKLaboklab(39.64% 0.0269 -0.1891)
OKLCHoklch(39.64% 0.191 278.1)
XYZxyz(9.6180, 5.3604, 38.0562)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AA9 #9BA92A
analogous
#2A5CA9 #382AA9 #782AA9
triadic
#382AA9 #A9382A #2AA938
tetradic
#382AA9 #A92A5C #9BA92A #2AA978
square
#382AA9 #A92A5C #9BA92A #2AA978
split-complementary
#382AA9 #A9782A #5CA92A
monochromatic
#181247 #281E78 #382AA9 #5041D0 #7D72DC

Accessibility & contrast

On white

10.13
#382AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#382AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AA9
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AA9#FFFFFF#000000##FFFFFF
##382AA91.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #382aa9;
/* rgb */ color: rgb(56, 42, 169);
/* oklch */ color: oklch(39.6% 0.191 278.1);
Tailwind
colors: {
  custom: {
    50: '#7e66c4',
    500: '#382aa9',
    950: '#000000',
  },
}
SCSS
$custom: #382aa9;
$custom-light: #7e66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382aa9",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 246.614,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39641,
    "c": 0.19099,
    "h": 278.1
  },
  "luminance": 0.05361
}

Semantic roles & 50–950 ramp

primary
#382AA9
secondary
#B9C36C
accent
#E344D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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