#382ED5#382ED5

#382ED5 is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.8% C 0.239 H 273.6°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#382ED5
RGBrgb(56, 46, 213)
HSLhsl(244, 67%, 51%)
HSVhsv(244, 78%, 84%)
CMYKcmyk(73.7%, 78.4%, 0%, 16.5%)
CIE-LABlab(33.13, 56.10, -82.51)
CIE-LCHlch(33.13, 99.77, 304.21°)
OKLaboklab(44.81% 0.0149 -0.2387)
OKLCHoklch(44.81% 0.239 273.6)
XYZxyz(14.6141, 7.5973, 63.6341)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382ED5 #CBD52E
analogous
#2E77D5 #382ED5 #8B2ED5
triadic
#382ED5 #D5382E #2ED538
tetradic
#382ED5 #D52E77 #CBD52E #2ED58B
square
#382ED5 #D52E77 #CBD52E #2ED58B
split-complementary
#382ED5 #D58B2E #77D52E
monochromatic
#1C1772 #2921A5 #382ED5 #6961DF #9994E9

Accessibility & contrast

On white

8.33
#382ED5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#382ED5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382ED5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382ED5#FFFFFF#000000##FFFFFF
##382ED51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056DA
Deuteranopia (green-blind)
#0046D2
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #382ed5;
/* rgb */ color: rgb(56, 46, 213);
/* oklch */ color: oklch(44.8% 0.239 273.6);
Tailwind
colors: {
  custom: {
    50: '#886be3',
    500: '#382ed5',
    950: '#000000',
  },
}
SCSS
$custom: #382ed5;
$custom-light: #886be3;
$custom-dark: #000000;
JSON
{
  "hex": "#382ed5",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 213
  },
  "hsl": {
    "h": 243.593,
    "s": 66.534,
    "l": 50.784
  },
  "oklch": {
    "l": 0.44806,
    "c": 0.23916,
    "h": 273.6
  },
  "luminance": 0.07599
}

Semantic roles & 50–950 ramp

primary
#382ED5
secondary
#D0D48A
accent
#E93EDF
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #382ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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