#382BCA#382BCA

#382BCA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.3% C 0.229 H 274.7°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#382BCA
RGBrgb(56, 43, 202)
HSLhsl(245, 65%, 48%)
HSVhsv(245, 79%, 79%)
CMYKcmyk(72.3%, 78.7%, 0%, 20.8%)
CIE-LABlab(31.42, 54.22, -78.95)
CIE-LCHlch(31.42, 95.77, 304.48°)
OKLaboklab(43.26% 0.0186 -0.2283)
OKLCHoklch(43.26% 0.229 274.7)
XYZxyz(13.1519, 6.8315, 56.4911)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BCA #BDCA2B
analogous
#2B6DCA #382BCA #882BCA
triadic
#382BCA #CA382B #2BCA38
tetradic
#382BCA #CA2B6D #BDCA2B #2BCA88
square
#382BCA #CA2B6D #BDCA2B #2BCA88
split-complementary
#382BCA #CA882B #6DCA2B
monochromatic
#1C1665 #2A2098 #382BCA #6257DB #9189E6

Accessibility & contrast

On white

8.87
#382BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#382BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BCA
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BCA#FFFFFF#000000##FFFFFF
##382BCA1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #382bca;
/* rgb */ color: rgb(56, 43, 202);
/* oklch */ color: oklch(43.3% 0.229 274.7);
Tailwind
colors: {
  custom: {
    50: '#8568dc',
    500: '#382bca',
    950: '#000000',
  },
}
SCSS
$custom: #382bca;
$custom-light: #8568dc;
$custom-dark: #000000;
JSON
{
  "hex": "#382bca",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 244.906,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.22908,
    "h": 274.7
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#382BCA
secondary
#C9D081
accent
#E840DA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #382BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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