#382EB8#382EB8

#382EB8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.7% C 0.205 H 276.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#382EB8
RGBrgb(56, 46, 184)
HSLhsl(244, 60%, 45%)
HSVhsv(244, 75%, 72%)
CMYKcmyk(69.6%, 75%, 0%, 27.8%)
CIE-LABlab(30.05, 47.07, -70.63)
CIE-LCHlch(30.05, 84.88, 303.68°)
OKLaboklab(41.73% 0.0213 -0.2042)
OKLCHoklch(41.73% 0.205 276)
XYZxyz(11.2568, 6.2544, 45.9521)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EB8 #AEB82E
analogous
#2E69B8 #382EB8 #7D2EB8
triadic
#382EB8 #B8382E #2EB838
tetradic
#382EB8 #B82E69 #AEB82E #2EB87D
square
#382EB8 #B82E69 #AEB82E #2EB87D
split-complementary
#382EB8 #B87D2E #69B82E
monochromatic
#1A1656 #292287 #382EB8 #5950D3 #8881DF

Accessibility & contrast

On white

9.33
#382EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#382EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EB8
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EB8#FFFFFF#000000##FFFFFF
##382EB81.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382eb8;
/* rgb */ color: rgb(56, 46, 184);
/* oklch */ color: oklch(41.7% 0.205 276.0);
Tailwind
colors: {
  custom: {
    50: '#8169cf',
    500: '#382eb8',
    950: '#000000',
  },
}
SCSS
$custom: #382eb8;
$custom-light: #8169cf;
$custom-dark: #000000;
JSON
{
  "hex": "#382eb8",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 244.348,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.20527,
    "h": 276
  },
  "luminance": 0.06255
}

Semantic roles & 50–950 ramp

primary
#382EB8
secondary
#C3C879
accent
#E345D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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