#382CB9#382CB9

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

Color values

HEX#382CB9
RGBrgb(56, 44, 185)
HSLhsl(245, 62%, 45%)
HSVhsv(245, 76%, 73%)
CMYKcmyk(69.7%, 76.2%, 0%, 27.5%)
CIE-LABlab(29.77, 48.46, -71.67)
CIE-LCHlch(29.77, 86.52, 304.06°)
OKLaboklab(41.57% 0.0222 -0.2072)
OKLCHoklch(41.57% 0.208 276.1)
XYZxyz(11.2857, 6.1439, 46.4807)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB9 #ADB92C
analogous
#2C67B9 #382CB9 #7E2CB9
triadic
#382CB9 #B9382C #2CB938
tetradic
#382CB9 #B92C67 #ADB92C #2CB97E
square
#382CB9 #B92C67 #ADB92C #2CB97E
split-complementary
#382CB9 #B97E2C #67B92C
monochromatic
#1A1456 #292088 #382CB9 #594DD5 #877FE1

Accessibility & contrast

On white

9.42
#382CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#382CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CB9
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB9#FFFFFF#000000##FFFFFF
##382CB91.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382cb9;
/* rgb */ color: rgb(56, 44, 185);
/* oklch */ color: oklch(41.6% 0.208 276.1);
Tailwind
colors: {
  custom: {
    50: '#8268cf',
    500: '#382cb9',
    950: '#000000',
  },
}
SCSS
$custom: #382cb9;
$custom-light: #8268cf;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb9",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 245.106,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.20836,
    "h": 276.1
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#382CB9
secondary
#C2C978
accent
#E543D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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