#382ED4#382ED4

#382ED4 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.7% C 0.238 H 273.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#382ED4
RGBrgb(56, 46, 212)
HSLhsl(244, 66%, 51%)
HSVhsv(244, 78%, 83%)
CMYKcmyk(73.6%, 78.3%, 0%, 16.9%)
CIE-LABlab(33.02, 55.79, -82.11)
CIE-LCHlch(33.02, 99.27, 304.20°)
OKLaboklab(44.7% 0.0151 -0.2375)
OKLCHoklch(44.7% 0.238 273.6)
XYZxyz(14.4876, 7.5467, 62.9677)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382ED4 #CAD42E
analogous
#2E77D4 #382ED4 #8B2ED4
triadic
#382ED4 #D4382E #2ED438
tetradic
#382ED4 #D42E77 #CAD42E #2ED48B
square
#382ED4 #D42E77 #CAD42E #2ED48B
split-complementary
#382ED4 #D48B2E #77D42E
monochromatic
#1D1770 #2922A3 #382ED4 #6861DE #9994E9

Accessibility & contrast

On white

8.37
#382ED4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#382ED4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382ED4
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382ED4#FFFFFF#000000##FFFFFF
##382ED41.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D9
Deuteranopia (green-blind)
#0046D1
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #382ed4;
/* rgb */ color: rgb(56, 46, 212);
/* oklch */ color: oklch(44.7% 0.238 273.6);
Tailwind
colors: {
  custom: {
    50: '#876be3',
    500: '#382ed4',
    950: '#000000',
  },
}
SCSS
$custom: #382ed4;
$custom-light: #876be3;
$custom-dark: #000000;
JSON
{
  "hex": "#382ed4",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 212
  },
  "hsl": {
    "h": 243.614,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.23802,
    "h": 273.6
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#382ED4
secondary
#CFD48A
accent
#E93FDF
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #382ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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