#382CBA#382CBA

#382CBA is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.210 H 276.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#382CBA
RGBrgb(56, 44, 186)
HSLhsl(245, 62%, 45%)
HSVhsv(245, 76%, 73%)
CMYKcmyk(69.9%, 76.3%, 0%, 27.1%)
CIE-LABlab(29.88, 48.77, -72.09)
CIE-LCHlch(29.88, 87.04, 304.08°)
OKLaboklab(41.67% 0.0219 -0.2084)
OKLCHoklch(41.67% 0.21 276)
XYZxyz(11.3916, 6.1862, 47.0386)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CBA #AEBA2C
analogous
#2C67BA #382CBA #7F2CBA
triadic
#382CBA #BA382C #2CBA38
tetradic
#382CBA #BA2C67 #AEBA2C #2CBA7F
square
#382CBA #BA2C67 #AEBA2C #2CBA7F
split-complementary
#382CBA #BA7F2C #67BA2C
monochromatic
#1A1557 #292089 #382CBA #594ED5 #8880E1

Accessibility & contrast

On white

9.39
#382CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#382CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CBA
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CBA#FFFFFF#000000##FFFFFF
##382CBA1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382cba;
/* rgb */ color: rgb(56, 44, 186);
/* oklch */ color: oklch(41.7% 0.210 276.0);
Tailwind
colors: {
  custom: {
    50: '#8268d0',
    500: '#382cba',
    950: '#000000',
  },
}
SCSS
$custom: #382cba;
$custom-light: #8268d0;
$custom-dark: #000000;
JSON
{
  "hex": "#382cba",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 245.07,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41674,
    "c": 0.20955,
    "h": 276
  },
  "luminance": 0.06187
}

Semantic roles & 50–950 ramp

primary
#382CBA
secondary
#C3CA78
accent
#E543D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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