#382EB6#382EB6

#382EB6 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.203 H 276.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#382EB6
RGBrgb(56, 46, 182)
HSLhsl(244, 60%, 45%)
HSVhsv(244, 75%, 71%)
CMYKcmyk(69.2%, 74.7%, 0%, 28.6%)
CIE-LABlab(29.84, 46.43, -69.78)
CIE-LCHlch(29.84, 83.82, 303.64°)
OKLaboklab(41.53% 0.0217 -0.2017)
OKLCHoklch(41.53% 0.203 276.2)
XYZxyz(11.0486, 6.1711, 44.8558)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EB6 #ACB62E
analogous
#2E68B6 #382EB6 #7C2EB6
triadic
#382EB6 #B6382E #2EB638
tetradic
#382EB6 #B62E68 #ACB62E #2EB67C
square
#382EB6 #B62E68 #ACB62E #2EB67C
split-complementary
#382EB6 #B67C2E #68B62E
monochromatic
#1A1554 #292285 #382EB6 #584FD2 #8780DF

Accessibility & contrast

On white

9.40
#382EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#382EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EB6
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EB6#FFFFFF#000000##FFFFFF
##382EB61.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382eb6;
/* rgb */ color: rgb(56, 46, 182);
/* oklch */ color: oklch(41.5% 0.203 276.2);
Tailwind
colors: {
  custom: {
    50: '#8169cd',
    500: '#382eb6',
    950: '#000000',
  },
}
SCSS
$custom: #382eb6;
$custom-light: #8169cd;
$custom-dark: #000000;
JSON
{
  "hex": "#382eb6",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 244.412,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41525,
    "c": 0.20286,
    "h": 276.2
  },
  "luminance": 0.06172
}

Semantic roles & 50–950 ramp

primary
#382EB6
secondary
#C2C878
accent
#E345D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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