#382CB5#382CB5

#382CB5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.204 H 276.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#382CB5
RGBrgb(56, 44, 181)
HSLhsl(245, 61%, 44%)
HSVhsv(245, 76%, 71%)
CMYKcmyk(69.1%, 75.7%, 0%, 29%)
CIE-LABlab(29.36, 47.20, -69.99)
CIE-LCHlch(29.36, 84.41, 303.99°)
OKLaboklab(41.15% 0.0231 -0.2023)
OKLCHoklch(41.15% 0.204 276.5)
XYZxyz(10.8693, 5.9773, 44.2880)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB5 #A9B52C
analogous
#2C65B5 #382CB5 #7C2CB5
triadic
#382CB5 #B5382C #2CB538
tetradic
#382CB5 #B52C65 #A9B52C #2CB57C
square
#382CB5 #B52C65 #A9B52C #2CB57C
split-complementary
#382CB5 #B57C2C #65B52C
monochromatic
#1A1453 #292084 #382CB5 #574BD3 #857CDF

Accessibility & contrast

On white

9.56
#382CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#382CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CB5
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB5#FFFFFF#000000##FFFFFF
##382CB51.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382cb5;
/* rgb */ color: rgb(56, 44, 181);
/* oklch */ color: oklch(41.2% 0.204 276.5);
Tailwind
colors: {
  custom: {
    50: '#8168cc',
    500: '#382cb5',
    950: '#000000',
  },
}
SCSS
$custom: #382cb5;
$custom-light: #8168cc;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb5",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 245.255,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41152,
    "c": 0.20358,
    "h": 276.5
  },
  "luminance": 0.05978
}

Semantic roles & 50–950 ramp

primary
#382CB5
secondary
#C0C875
accent
#E444D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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