#382BA6#382BA6

#382BA6 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.186 H 278.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#382BA6
RGBrgb(56, 43, 166)
HSLhsl(246, 59%, 41%)
HSVhsv(246, 74%, 65%)
CMYKcmyk(66.3%, 74.1%, 0%, 34.9%)
CIE-LABlab(27.63, 42.96, -63.84)
CIE-LCHlch(27.63, 76.95, 303.94°)
OKLaboklab(39.47% 0.0269 -0.1843)
OKLCHoklch(39.47% 0.186 278.3)
XYZxyz(9.3755, 5.3209, 36.6020)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BA6 #99A62B
analogous
#2B5CA6 #382BA6 #752BA6
triadic
#382BA6 #A6382B #2BA638
tetradic
#382BA6 #A62B5C #99A62B #2BA675
square
#382BA6 #A62B5C #99A62B #2BA675
split-complementary
#382BA6 #A6752B #5CA62B
monochromatic
#171245 #281E75 #382BA6 #4F41CE #7C71DA

Accessibility & contrast

On white

10.17
#382BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#382BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BA6
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BA6#FFFFFF#000000##FFFFFF
##382BA61.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #382ba6;
/* rgb */ color: rgb(56, 43, 166);
/* oklch */ color: oklch(39.5% 0.186 278.3);
Tailwind
colors: {
  custom: {
    50: '#7e66c2',
    500: '#382ba6',
    950: '#000000',
  },
}
SCSS
$custom: #382ba6;
$custom-light: #7e66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#382ba6",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 246.341,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.18629,
    "h": 278.3
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#382BA6
secondary
#B8C16B
accent
#E246D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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