#382BBA#382BBA

#382BBA is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.210 H 276.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#382BBA
RGBrgb(56, 43, 186)
HSLhsl(245, 62%, 45%)
HSVhsv(245, 77%, 73%)
CMYKcmyk(69.9%, 76.9%, 0%, 27.1%)
CIE-LABlab(29.69, 49.29, -72.39)
CIE-LCHlch(29.69, 87.58, 304.25°)
OKLaboklab(41.55% 0.0224 -0.2093)
OKLCHoklch(41.55% 0.21 276.1)
XYZxyz(11.3548, 6.1126, 47.0263)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BBA #ADBA2B
analogous
#2B65BA #382BBA #802BBA
triadic
#382BBA #BA382B #2BBA38
tetradic
#382BBA #BA2B65 #ADBA2B #2BBA80
square
#382BBA #BA2B65 #ADBA2B #2BBA80
split-complementary
#382BBA #BA802B #65BA2B
monochromatic
#1A1457 #292088 #382BBA #594CD6 #877EE1

Accessibility & contrast

On white

9.45
#382BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#382BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BBA
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BBA#FFFFFF#000000##FFFFFF
##382BBA1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382bba;
/* rgb */ color: rgb(56, 43, 186);
/* oklch */ color: oklch(41.5% 0.210 276.1);
Tailwind
colors: {
  custom: {
    50: '#8267d0',
    500: '#382bba',
    950: '#000000',
  },
}
SCSS
$custom: #382bba;
$custom-light: #8267d0;
$custom-dark: #000000;
JSON
{
  "hex": "#382bba",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 186
  },
  "hsl": {
    "h": 245.455,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41546,
    "c": 0.21047,
    "h": 276.1
  },
  "luminance": 0.06114
}

Semantic roles & 50–950 ramp

primary
#382BBA
secondary
#C2CA77
accent
#E642D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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