#382EC1#382EC1

#382EC1 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.216 H 275.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#382EC1
RGBrgb(56, 46, 193)
HSLhsl(244, 62%, 47%)
HSVhsv(244, 76%, 76%)
CMYKcmyk(71%, 76.2%, 0%, 24.3%)
CIE-LABlab(30.98, 49.92, -74.40)
CIE-LCHlch(30.98, 89.59, 303.86°)
OKLaboklab(42.67% 0.0194 -0.2151)
OKLCHoklch(42.67% 0.216 275.2)
XYZxyz(12.2303, 6.6438, 51.0796)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EC1 #B7C12E
analogous
#2E6DC1 #382EC1 #822EC1
triadic
#382EC1 #C1382E #2EC138
tetradic
#382EC1 #C12E6D #B7C12E #2EC182
square
#382EC1 #C12E6D #B7C12E #2EC182
split-complementary
#382EC1 #C1822E #6DC12E
monochromatic
#1B165E #2A2290 #382EC1 #5E56D7 #8D87E2

Accessibility & contrast

On white

9.02
#382EC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#382EC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EC1
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EC1#FFFFFF#000000##FFFFFF
##382EC11.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC5
Deuteranopia (green-blind)
#0042BE
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #382ec1;
/* rgb */ color: rgb(56, 46, 193);
/* oklch */ color: oklch(42.7% 0.216 275.2);
Tailwind
colors: {
  custom: {
    50: '#836ad5',
    500: '#382ec1',
    950: '#000000',
  },
}
SCSS
$custom: #382ec1;
$custom-light: #836ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#382ec1",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 244.082,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42669,
    "c": 0.21601,
    "h": 275.2
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#382EC1
secondary
#C7CC7F
accent
#E543DA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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