#382AB8#382AB8

#382AB8 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.209 H 276.4°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#382AB8
RGBrgb(56, 42, 184)
HSLhsl(246, 63%, 44%)
HSVhsv(246, 77%, 72%)
CMYKcmyk(69.6%, 77.2%, 0%, 27.8%)
CIE-LABlab(29.30, 49.19, -71.86)
CIE-LCHlch(29.30, 87.08, 304.39°)
OKLaboklab(41.21% 0.0234 -0.2077)
OKLCHoklch(41.21% 0.209 276.4)
XYZxyz(11.1078, 5.9564, 45.9024)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AB8 #AAB82A
analogous
#2A63B8 #382AB8 #7F2AB8
triadic
#382AB8 #B8382A #2AB838
tetradic
#382AB8 #B82A63 #AAB82A #2AB87F
square
#382AB8 #B82A63 #AAB82A #2AB87F
split-complementary
#382AB8 #B87F2A #63B82A
monochromatic
#1A1354 #291F86 #382AB8 #574AD6 #857BE1

Accessibility & contrast

On white

9.58
#382AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#382AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AB8
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AB8#FFFFFF#000000##FFFFFF
##382AB81.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382ab8;
/* rgb */ color: rgb(56, 42, 184);
/* oklch */ color: oklch(41.2% 0.209 276.4);
Tailwind
colors: {
  custom: {
    50: '#8267cf',
    500: '#382ab8',
    950: '#000000',
  },
}
SCSS
$custom: #382ab8;
$custom-light: #8267cf;
$custom-dark: #000000;
JSON
{
  "hex": "#382ab8",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 245.915,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.20901,
    "h": 276.4
  },
  "luminance": 0.05957
}

Semantic roles & 50–950 ramp

primary
#382AB8
secondary
#C1C975
accent
#E642D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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