#382AB9#382AB9

#382AB9 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.210 H 276.3°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#382AB9
RGBrgb(56, 42, 185)
HSLhsl(246, 63%, 45%)
HSVhsv(246, 77%, 73%)
CMYKcmyk(69.7%, 77.3%, 0%, 27.5%)
CIE-LABlab(29.41, 49.50, -72.28)
CIE-LCHlch(29.41, 87.60, 304.41°)
OKLaboklab(41.31% 0.0231 -0.2089)
OKLCHoklch(41.31% 0.21 276.3)
XYZxyz(11.2129, 5.9984, 46.4564)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AB9 #ABB92A
analogous
#2A64B9 #382AB9 #802AB9
triadic
#382AB9 #B9382A #2AB938
tetradic
#382AB9 #B92A64 #ABB92A #2AB980
square
#382AB9 #B92A64 #ABB92A #2AB980
split-complementary
#382AB9 #B9802A #64B92A
monochromatic
#1A1355 #291F87 #382AB9 #584AD6 #867CE1

Accessibility & contrast

On white

9.55
#382AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#382AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AB9
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AB9#FFFFFF#000000##FFFFFF
##382AB91.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382ab9;
/* rgb */ color: rgb(56, 42, 185);
/* oklch */ color: oklch(41.3% 0.210 276.3);
Tailwind
colors: {
  custom: {
    50: '#8267cf',
    500: '#382ab9',
    950: '#000000',
  },
}
SCSS
$custom: #382ab9;
$custom-light: #8267cf;
$custom-dark: #000000;
JSON
{
  "hex": "#382ab9",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 245.874,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41314,
    "c": 0.21019,
    "h": 276.3
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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