#382EC3#382EC3

#382EC3 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.9% C 0.218 H 275.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#382EC3
RGBrgb(56, 46, 195)
HSLhsl(244, 62%, 47%)
HSVhsv(244, 76%, 76%)
CMYKcmyk(71.3%, 76.4%, 0%, 23.5%)
CIE-LABlab(31.19, 50.55, -75.23)
CIE-LCHlch(31.19, 90.63, 303.90°)
OKLaboklab(42.88% 0.019 -0.2175)
OKLCHoklch(42.88% 0.218 275)
XYZxyz(12.4550, 6.7337, 52.2625)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EC3 #B9C32E
analogous
#2E6EC3 #382EC3 #832EC3
triadic
#382EC3 #C3382E #2EC338
tetradic
#382EC3 #C32E6E #B9C32E #2EC383
square
#382EC3 #C32E6E #B9C32E #2EC383
split-complementary
#382EC3 #C3832E #6EC32E
monochromatic
#1C1760 #2A2291 #382EC3 #5F57D7 #8E88E3

Accessibility & contrast

On white

8.95
#382EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#382EC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EC3
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EC3#FFFFFF#000000##FFFFFF
##382EC31.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0043C0
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #382ec3;
/* rgb */ color: rgb(56, 46, 195);
/* oklch */ color: oklch(42.9% 0.218 275.0);
Tailwind
colors: {
  custom: {
    50: '#846ad7',
    500: '#382ec3',
    950: '#000000',
  },
}
SCSS
$custom: #382ec3;
$custom-light: #846ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#382ec3",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 244.027,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4288,
    "c": 0.21836,
    "h": 275
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#382EC3
secondary
#C8CD80
accent
#E543DA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #382EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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