#382AC5#382AC5

#382AC5 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.6% C 0.224 H 275.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#382AC5
RGBrgb(56, 42, 197)
HSLhsl(245, 65%, 47%)
HSVhsv(245, 79%, 77%)
CMYKcmyk(71.6%, 78.7%, 0%, 22.7%)
CIE-LABlab(30.70, 53.19, -77.21)
CIE-LCHlch(30.70, 93.75, 304.56°)
OKLaboklab(42.6% 0.0202 -0.2233)
OKLCHoklch(42.6% 0.224 275.2)
XYZxyz(12.5336, 6.5267, 53.4117)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AC5 #B7C52A
analogous
#2A6AC5 #382AC5 #852AC5
triadic
#382AC5 #C5382A #2AC538
tetradic
#382AC5 #C52A6A #B7C52A #2AC585
square
#382AC5 #C52A6A #B7C52A #2AC585
split-complementary
#382AC5 #C5852A #6AC52A
monochromatic
#1B1460 #2A1F93 #382AC5 #5E52DA #8D85E5

Accessibility & contrast

On white

9.11
#382AC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#382AC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AC5
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AC5#FFFFFF#000000##FFFFFF
##382AC51.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#0041C2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #382ac5;
/* rgb */ color: rgb(56, 42, 197);
/* oklch */ color: oklch(42.6% 0.224 275.2);
Tailwind
colors: {
  custom: {
    50: '#8468d8',
    500: '#382ac5',
    950: '#000000',
  },
}
SCSS
$custom: #382ac5;
$custom-light: #8468d8;
$custom-dark: #000000;
JSON
{
  "hex": "#382ac5",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 197
  },
  "hsl": {
    "h": 245.419,
    "s": 64.854,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42601,
    "c": 0.22417,
    "h": 275.2
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#382AC5
secondary
#C7CE7D
accent
#E840D9
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #382AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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