#382AB7#382AB7

#382AB7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.208 H 276.5°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#382AB7
RGBrgb(56, 42, 183)
HSLhsl(246, 63%, 44%)
HSVhsv(246, 77%, 72%)
CMYKcmyk(69.4%, 77%, 0%, 28.2%)
CIE-LABlab(29.20, 48.88, -71.44)
CIE-LCHlch(29.20, 86.56, 304.38°)
OKLaboklab(41.1% 0.0236 -0.2065)
OKLCHoklch(41.1% 0.208 276.5)
XYZxyz(11.0033, 5.9146, 45.3523)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AB7 #A9B72A
analogous
#2A63B7 #382AB7 #7F2AB7
triadic
#382AB7 #B7382A #2AB738
tetradic
#382AB7 #B72A63 #A9B72A #2AB77F
square
#382AB7 #B72A63 #A9B72A #2AB77F
split-complementary
#382AB7 #B77F2A #63B72A
monochromatic
#1A1353 #291F85 #382AB7 #5749D5 #857BE1

Accessibility & contrast

On white

9.62
#382AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#382AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AB7
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AB7#FFFFFF#000000##FFFFFF
##382AB71.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBB
Deuteranopia (green-blind)
#003FB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382ab7;
/* rgb */ color: rgb(56, 42, 183);
/* oklch */ color: oklch(41.1% 0.208 276.5);
Tailwind
colors: {
  custom: {
    50: '#8167ce',
    500: '#382ab7',
    950: '#000000',
  },
}
SCSS
$custom: #382ab7;
$custom-light: #8167ce;
$custom-dark: #000000;
JSON
{
  "hex": "#382ab7",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 245.957,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41102,
    "c": 0.20783,
    "h": 276.5
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#382AB7
secondary
#C0C974
accent
#E642D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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