#382DCA#382DCA

#382DCA is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.5% C 0.227 H 274.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#382DCA
RGBrgb(56, 45, 202)
HSLhsl(244, 64%, 48%)
HSVhsv(244, 78%, 79%)
CMYKcmyk(72.3%, 77.7%, 0%, 20.8%)
CIE-LABlab(31.76, 53.23, -78.38)
CIE-LCHlch(31.76, 94.75, 304.18°)
OKLaboklab(43.5% 0.0178 -0.2267)
OKLCHoklch(43.5% 0.227 274.5)
XYZxyz(13.2264, 6.9805, 56.5160)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DCA #BFCA2D
analogous
#2D70CA #382DCA #862DCA
triadic
#382DCA #CA382D #2DCA38
tetradic
#382DCA #CA2D70 #BFCA2D #2DCA86
square
#382DCA #CA2D70 #BFCA2D #2DCA86
split-complementary
#382DCA #CA862D #70CA2D
monochromatic
#1C1766 #2A2298 #382DCA #635ADA #928CE5

Accessibility & contrast

On white

8.76
#382DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#382DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DCA
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DCA#FFFFFF#000000##FFFFFF
##382DCA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #382dca;
/* rgb */ color: rgb(56, 45, 202);
/* oklch */ color: oklch(43.5% 0.227 274.5);
Tailwind
colors: {
  custom: {
    50: '#8569dc',
    500: '#382dca',
    950: '#000000',
  },
}
SCSS
$custom: #382dca;
$custom-light: #8569dc;
$custom-dark: #000000;
JSON
{
  "hex": "#382dca",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 244.204,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.435,
    "c": 0.2274,
    "h": 274.5
  },
  "luminance": 0.06982
}

Semantic roles & 50–950 ramp

primary
#382DCA
secondary
#CACF83
accent
#E741DB
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #382DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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