#382EAB#382EAB

#382EAB is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.189 H 277.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#382EAB
RGBrgb(56, 46, 171)
HSLhsl(245, 58%, 43%)
HSVhsv(245, 73%, 67%)
CMYKcmyk(67.3%, 73.1%, 0%, 32.9%)
CIE-LABlab(28.73, 42.89, -65.04)
CIE-LCHlch(28.73, 77.90, 303.40°)
OKLaboklab(40.41% 0.024 -0.1878)
OKLCHoklch(40.41% 0.189 277.3)
XYZxyz(9.9562, 5.7342, 39.1023)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EAB #A1AB2E
analogous
#2E62AB #382EAB #762EAB
triadic
#382EAB #AB382E #2EAB38
tetradic
#382EAB #AB2E62 #A1AB2E #2EAB76
square
#382EAB #AB2E62 #A1AB2E #2EAB76
split-complementary
#382EAB #AB762E #62AB2E
monochromatic
#18144B #28217B #382EAB #5348CE #8079DB

Accessibility & contrast

On white

9.78
#382EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#382EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EAB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EAB#FFFFFF#000000##FFFFFF
##382EAB1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382eab;
/* rgb */ color: rgb(56, 46, 171);
/* oklch */ color: oklch(40.4% 0.189 277.3);
Tailwind
colors: {
  custom: {
    50: '#7e69c5',
    500: '#382eab',
    950: '#000000',
  },
}
SCSS
$custom: #382eab;
$custom-light: #7e69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#382eab",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 244.8,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.18937,
    "h": 277.3
  },
  "luminance": 0.05735
}

Semantic roles & 50–950 ramp

primary
#382EAB
secondary
#BCC372
accent
#E147D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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