#382AAA#382AAA

#382AAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.192 H 278.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#382AAA
RGBrgb(56, 42, 170)
HSLhsl(247, 60%, 42%)
HSVhsv(247, 75%, 67%)
CMYKcmyk(67.1%, 75.3%, 0%, 33.3%)
CIE-LABlab(27.84, 44.79, -65.90)
CIE-LCHlch(27.84, 79.68, 304.20°)
OKLaboklab(39.74% 0.0267 -0.1904)
OKLCHoklch(39.74% 0.192 278)
XYZxyz(9.7122, 5.3981, 38.5525)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AAA #9CAA2A
analogous
#2A5CAA #382AAA #782AAA
triadic
#382AAA #AA382A #2AAA38
tetradic
#382AAA #AA2A5C #9CAA2A #2AAA78
square
#382AAA #AA2A5C #9CAA2A #2AAA78
split-complementary
#382AAA #AA782A #5CAA2A
monochromatic
#181248 #281E79 #382AAA #5141D0 #7E72DC

Accessibility & contrast

On white

10.10
#382AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#382AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AAA
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AAA#FFFFFF#000000##FFFFFF
##382AAA1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382aaa;
/* rgb */ color: rgb(56, 42, 170);
/* oklch */ color: oklch(39.7% 0.192 278.0);
Tailwind
colors: {
  custom: {
    50: '#7f66c5',
    500: '#382aaa',
    950: '#000000',
  },
}
SCSS
$custom: #382aaa;
$custom-light: #7f66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#382aaa",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 246.563,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39744,
    "c": 0.19222,
    "h": 278
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#382AAA
secondary
#BAC36C
accent
#E444D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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