#382EB5#382EB5

#382EB5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.4% C 0.202 H 276.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#382EB5
RGBrgb(56, 46, 181)
HSLhsl(244, 59%, 45%)
HSVhsv(244, 75%, 71%)
CMYKcmyk(69.1%, 74.6%, 0%, 29%)
CIE-LABlab(29.74, 46.11, -69.36)
CIE-LCHlch(29.74, 83.29, 303.62°)
OKLaboklab(41.42% 0.022 -0.2004)
OKLCHoklch(41.42% 0.202 276.3)
XYZxyz(10.9456, 6.1299, 44.3135)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EB5 #ABB52E
analogous
#2E68B5 #382EB5 #7B2EB5
triadic
#382EB5 #B5382E #2EB538
tetradic
#382EB5 #B52E68 #ABB52E #2EB57B
square
#382EB5 #B52E68 #ABB52E #2EB57B
split-complementary
#382EB5 #B57B2E #68B52E
monochromatic
#1A1553 #292284 #382EB5 #584ED2 #867FDE

Accessibility & contrast

On white

9.43
#382EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#382EB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EB5
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EB5#FFFFFF#000000##FFFFFF
##382EB51.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382eb5;
/* rgb */ color: rgb(56, 46, 181);
/* oklch */ color: oklch(41.4% 0.202 276.3);
Tailwind
colors: {
  custom: {
    50: '#8169cc',
    500: '#382eb5',
    950: '#000000',
  },
}
SCSS
$custom: #382eb5;
$custom-light: #8169cc;
$custom-dark: #000000;
JSON
{
  "hex": "#382eb5",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 244.444,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.20165,
    "h": 276.3
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#382EB5
secondary
#C1C778
accent
#E345D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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