#382CAA#382CAA

#382CAA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.190 H 277.7°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#382CAA
RGBrgb(56, 44, 170)
HSLhsl(246, 59%, 42%)
HSVhsv(246, 74%, 67%)
CMYKcmyk(67.1%, 74.1%, 0%, 33.3%)
CIE-LABlab(28.23, 43.69, -65.26)
CIE-LCHlch(28.23, 78.53, 303.80°)
OKLaboklab(40.02% 0.0254 -0.1885)
OKLCHoklch(40.02% 0.19 277.7)
XYZxyz(9.7849, 5.5436, 38.5768)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CAA #9EAA2C
analogous
#2C5FAA #382CAA #772CAA
triadic
#382CAA #AA382C #2CAA38
tetradic
#382CAA #AA2C5F #9EAA2C #2CAA77
square
#382CAA #AA2C5F #9EAA2C #2CAA77
split-complementary
#382CAA #AA772C #5FAA2C
monochromatic
#181349 #281F79 #382CAA #5244CF #7F75DB

Accessibility & contrast

On white

9.96
#382CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#382CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CAA
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CAA#FFFFFF#000000##FFFFFF
##382CAA1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382caa;
/* rgb */ color: rgb(56, 44, 170);
/* oklch */ color: oklch(40.0% 0.190 277.7);
Tailwind
colors: {
  custom: {
    50: '#7e67c4',
    500: '#382caa',
    950: '#000000',
  },
}
SCSS
$custom: #382caa;
$custom-light: #7e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382caa",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 245.714,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4002,
    "c": 0.19021,
    "h": 277.7
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#382CAA
secondary
#BBC36F
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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