#382ED7#382ED7

#382ED7 is a mid, highly saturated blue. Relative luminance 0.077; OKLCH L 45.0% C 0.241 H 273.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#382ED7
RGBrgb(56, 46, 215)
HSLhsl(244, 68%, 51%)
HSVhsv(244, 79%, 84%)
CMYKcmyk(74%, 78.6%, 0%, 15.7%)
CIE-LABlab(33.35, 56.70, -83.30)
CIE-LCHlch(33.35, 100.77, 304.24°)
OKLaboklab(45.02% 0.0145 -0.241)
OKLCHoklch(45.02% 0.241 273.4)
XYZxyz(14.8695, 7.6995, 64.9793)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382ED7 #CDD72E
analogous
#2E78D7 #382ED7 #8C2ED7
triadic
#382ED7 #D7382E #2ED738
tetradic
#382ED7 #D72E78 #CDD72E #2ED78C
square
#382ED7 #D72E78 #CDD72E #2ED78C
split-complementary
#382ED7 #D78C2E #78D72E
monochromatic
#1C1674 #2820A8 #382ED7 #6961E1 #9A95EB

Accessibility & contrast

On white

8.27
#382ED7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#382ED7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382ED7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382ED7#FFFFFF#000000##FFFFFF
##382ED71.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056DC
Deuteranopia (green-blind)
#0046D4
Tritanopia (blue-blind)
#006283
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #382ed7;
/* rgb */ color: rgb(56, 46, 215);
/* oklch */ color: oklch(45.0% 0.241 273.4);
Tailwind
colors: {
  custom: {
    50: '#886be5',
    500: '#382ed7',
    950: '#000000',
  },
}
SCSS
$custom: #382ed7;
$custom-light: #886be5;
$custom-dark: #000000;
JSON
{
  "hex": "#382ed7",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 243.55,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45023,
    "c": 0.24142,
    "h": 273.4
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#382ED7
secondary
#D1D68B
accent
#EB3DE0
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #382ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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