#382EAD#382EAD

#382EAD is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.192 H 277.1°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#382EAD
RGBrgb(56, 46, 173)
HSLhsl(245, 58%, 43%)
HSVhsv(245, 73%, 68%)
CMYKcmyk(67.6%, 73.4%, 0%, 32.2%)
CIE-LABlab(28.93, 43.54, -65.91)
CIE-LCHlch(28.93, 78.99, 303.45°)
OKLaboklab(40.61% 0.0236 -0.1904)
OKLCHoklch(40.61% 0.192 277.1)
XYZxyz(10.1483, 5.8110, 40.1139)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EAD #A3AD2E
analogous
#2E64AD #382EAD #772EAD
triadic
#382EAD #AD382E #2EAD38
tetradic
#382EAD #AD2E64 #A3AD2E #2EAD77
square
#382EAD #AD2E64 #A3AD2E #2EAD77
split-complementary
#382EAD #AD772E #64AD2E
monochromatic
#19144C #28217D #382EAD #5449CF #827ADC

Accessibility & contrast

On white

9.71
#382EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#382EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EAD
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EAD#FFFFFF#000000##FFFFFF
##382EAD1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#003FAB
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382ead;
/* rgb */ color: rgb(56, 46, 173);
/* oklch */ color: oklch(40.6% 0.192 277.1);
Tailwind
colors: {
  custom: {
    50: '#7f69c7',
    500: '#382ead',
    950: '#000000',
  },
}
SCSS
$custom: #382ead;
$custom-light: #7f69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#382ead",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 173
  },
  "hsl": {
    "h": 244.724,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.19186,
    "h": 277.1
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#382EAD
secondary
#BDC473
accent
#E147D5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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