#382AC0#382AC0

#382AC0 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.1% C 0.218 H 275.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#382AC0
RGBrgb(56, 42, 192)
HSLhsl(246, 64%, 46%)
HSVhsv(246, 78%, 75%)
CMYKcmyk(70.8%, 78.1%, 0%, 24.7%)
CIE-LABlab(30.16, 51.66, -75.17)
CIE-LCHlch(30.16, 91.21, 304.50°)
OKLaboklab(42.06% 0.0215 -0.2173)
OKLCHoklch(42.06% 0.218 275.6)
XYZxyz(11.9702, 6.3013, 50.4444)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AC0 #B2C02A
analogous
#2A67C0 #382AC0 #832AC0
triadic
#382AC0 #C0382A #2AC038
tetradic
#382AC0 #C02A67 #B2C02A #2AC083
square
#382AC0 #C02A67 #B2C02A #2AC083
split-complementary
#382AC0 #C0832A #67C02A
monochromatic
#1B145C #291F8E #382AC0 #5C4FD8 #8A81E3

Accessibility & contrast

On white

9.29
#382AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#382AC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AC0
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AC0#FFFFFF#000000##FFFFFF
##382AC01.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC4
Deuteranopia (green-blind)
#0040BD
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382ac0;
/* rgb */ color: rgb(56, 42, 192);
/* oklch */ color: oklch(42.1% 0.218 275.6);
Tailwind
colors: {
  custom: {
    50: '#8367d4',
    500: '#382ac0',
    950: '#000000',
  },
}
SCSS
$custom: #382ac0;
$custom-light: #8367d4;
$custom-dark: #000000;
JSON
{
  "hex": "#382ac0",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 245.6,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.21839,
    "h": 275.6
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#382AC0
secondary
#C5CC7A
accent
#E741D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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