#382EC5#382EC5

#382EC5 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.1% C 0.221 H 274.8°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#382EC5
RGBrgb(56, 46, 197)
HSLhsl(244, 62%, 48%)
HSVhsv(244, 77%, 77%)
CMYKcmyk(71.6%, 76.6%, 0%, 22.7%)
CIE-LABlab(31.40, 51.17, -76.05)
CIE-LCHlch(31.40, 91.66, 303.94°)
OKLaboklab(43.09% 0.0185 -0.2199)
OKLCHoklch(43.09% 0.221 274.8)
XYZxyz(12.6826, 6.8247, 53.4614)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EC5 #BBC52E
analogous
#2E6FC5 #382EC5 #842EC5
triadic
#382EC5 #C5382E #2EC538
tetradic
#382EC5 #C52E6F #BBC52E #2EC584
square
#382EC5 #C52E6F #BBC52E #2EC584
split-complementary
#382EC5 #C5842E #6FC52E
monochromatic
#1C1762 #2A2293 #382EC5 #6158D8 #908AE4

Accessibility & contrast

On white

8.88
#382EC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#382EC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EC5
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EC5#FFFFFF#000000##FFFFFF
##382EC51.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C9
Deuteranopia (green-blind)
#0043C2
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #382ec5;
/* rgb */ color: rgb(56, 46, 197);
/* oklch */ color: oklch(43.1% 0.221 274.8);
Tailwind
colors: {
  custom: {
    50: '#846ad8',
    500: '#382ec5',
    950: '#000000',
  },
}
SCSS
$custom: #382ec5;
$custom-light: #846ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#382ec5",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 243.974,
    "s": 62.14,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.22072,
    "h": 274.8
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#382EC5
secondary
#C8CE81
accent
#E543DA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #382EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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