#382CB8#382CB8

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

Color values

HEX#382CB8
RGBrgb(56, 44, 184)
HSLhsl(245, 61%, 45%)
HSVhsv(245, 76%, 72%)
CMYKcmyk(69.6%, 76.1%, 0%, 27.8%)
CIE-LABlab(29.67, 48.14, -71.25)
CIE-LCHlch(29.67, 85.99, 304.05°)
OKLaboklab(41.47% 0.0224 -0.206)
OKLCHoklch(41.47% 0.207 276.2)
XYZxyz(11.1805, 6.1018, 45.9267)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB8 #ACB82C
analogous
#2C66B8 #382CB8 #7E2CB8
triadic
#382CB8 #B8382C #2CB838
tetradic
#382CB8 #B82C66 #ACB82C #2CB87E
square
#382CB8 #B82C66 #ACB82C #2CB87E
split-complementary
#382CB8 #B87E2C #66B82C
monochromatic
#1A1455 #292087 #382CB8 #584DD4 #877EE0

Accessibility & contrast

On white

9.46
#382CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382CB8
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB8#FFFFFF#000000##FFFFFF
##382CB81.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382cb8;
/* rgb */ color: rgb(56, 44, 184);
/* oklch */ color: oklch(41.5% 0.207 276.2);
Tailwind
colors: {
  custom: {
    50: '#8168cf',
    500: '#382cb8',
    950: '#000000',
  },
}
SCSS
$custom: #382cb8;
$custom-light: #8168cf;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb8",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 245.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41465,
    "c": 0.20717,
    "h": 276.2
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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