#382C96#382C96

#382C96 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.165 H 280.2°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#382C96
RGBrgb(56, 44, 150)
HSLhsl(247, 55%, 38%)
HSVhsv(247, 71%, 59%)
CMYKcmyk(62.7%, 70.7%, 0%, 41.2%)
CIE-LABlab(26.28, 37.18, -56.31)
CIE-LCHlch(26.28, 67.47, 303.44°)
OKLaboklab(38.04% 0.0293 -0.1623)
OKLCHoklch(38.04% 0.165 280.2)
XYZxyz(8.0348, 4.8435, 29.3597)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C96 #8A962C
analogous
#2C5596 #382C96 #6D2C96
triadic
#382C96 #96382C #2C9638
tetradic
#382C96 #962C55 #8A962C #2C966D
square
#382C96 #962C55 #8A962C #2C966D
split-complementary
#382C96 #966D2C #55962C
monochromatic
#151037 #261E67 #382C96 #4A3AC5 #7569D3

Accessibility & contrast

On white

10.67
#382C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#382C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C96
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C96#FFFFFF#000000##FFFFFF
##382C961.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382c96;
/* rgb */ color: rgb(56, 44, 150);
/* oklch */ color: oklch(38.0% 0.165 280.2);
Tailwind
colors: {
  custom: {
    50: '#7a66b6',
    500: '#382c96',
    950: '#000000',
  },
}
SCSS
$custom: #382c96;
$custom-light: #7a66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382c96",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 246.792,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38043,
    "c": 0.16494,
    "h": 280.2
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#382C96
secondary
#B0BA64
accent
#DE4ACD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382C96

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

Preview Lab → · Contrast checker → · Palette generator →

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