#382A96#382A96

#382A96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.167 H 280.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#382A96
RGBrgb(56, 42, 150)
HSLhsl(248, 56%, 38%)
HSVhsv(248, 72%, 59%)
CMYKcmyk(62.7%, 72%, 0%, 41.2%)
CIE-LABlab(25.86, 38.36, -57.01)
CIE-LCHlch(25.86, 68.71, 303.94°)
OKLaboklab(37.74% 0.0308 -0.1644)
OKLCHoklch(37.74% 0.167 280.6)
XYZxyz(7.9621, 4.6981, 29.3355)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A96 #88962A
analogous
#2A5296 #382A96 #6E2A96
triadic
#382A96 #96382A #2A9638
tetradic
#382A96 #962A52 #88962A #2A966E
square
#382A96 #962A52 #88962A #2A966E
split-complementary
#382A96 #966E2A #52962A
monochromatic
#140F36 #261D66 #382A96 #4A37C6 #7466D4

Accessibility & contrast

On white

10.83
#382A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#382A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A96
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A96#FFFFFF#000000##FFFFFF
##382A961.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382a96;
/* rgb */ color: rgb(56, 42, 150);
/* oklch */ color: oklch(37.7% 0.167 280.6);
Tailwind
colors: {
  custom: {
    50: '#7a65b6',
    500: '#382a96',
    950: '#000000',
  },
}
SCSS
$custom: #382a96;
$custom-light: #7a65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382a96",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 247.778,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37737,
    "c": 0.16724,
    "h": 280.6
  },
  "luminance": 0.04699
}

Semantic roles & 50–950 ramp

primary
#382A96
secondary
#AFBA61
accent
#E048CC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382A96

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

Preview Lab → · Contrast checker → · Palette generator →

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