#382CB4#382CB4

#382CB4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.0% C 0.202 H 276.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#382CB4
RGBrgb(56, 44, 180)
HSLhsl(245, 61%, 44%)
HSVhsv(245, 76%, 71%)
CMYKcmyk(68.9%, 75.6%, 0%, 29.4%)
CIE-LABlab(29.25, 46.88, -69.56)
CIE-LCHlch(29.25, 83.89, 303.98°)
OKLaboklab(41.05% 0.0233 -0.201)
OKLCHoklch(41.05% 0.202 276.6)
XYZxyz(10.7671, 5.9364, 43.7496)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB4 #A8B42C
analogous
#2C64B4 #382CB4 #7C2CB4
triadic
#382CB4 #B4382C #2CB438
tetradic
#382CB4 #B42C64 #A8B42C #2CB47C
square
#382CB4 #B42C64 #A8B42C #2CB47C
split-complementary
#382CB4 #B47C2C #64B42C
monochromatic
#191452 #292083 #382CB4 #564AD3 #847CDF

Accessibility & contrast

On white

9.60
#382CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#382CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CB4
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB4#FFFFFF#000000##FFFFFF
##382CB41.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382cb4;
/* rgb */ color: rgb(56, 44, 180);
/* oklch */ color: oklch(41.0% 0.202 276.6);
Tailwind
colors: {
  custom: {
    50: '#8068cc',
    500: '#382cb4',
    950: '#000000',
  },
}
SCSS
$custom: #382cb4;
$custom-light: #8068cc;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb4",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 245.294,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41048,
    "c": 0.20238,
    "h": 276.6
  },
  "luminance": 0.05937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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