#382AB0#382AB0

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

Color values

HEX#382AB0
RGBrgb(56, 42, 176)
HSLhsl(246, 61%, 43%)
HSVhsv(246, 76%, 69%)
CMYKcmyk(68.2%, 76.1%, 0%, 31%)
CIE-LABlab(28.46, 46.69, -68.48)
CIE-LCHlch(28.46, 82.88, 304.28°)
OKLaboklab(40.37% 0.0253 -0.1979)
OKLCHoklch(40.37% 0.199 277.3)
XYZxyz(10.2928, 5.6304, 41.6102)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AB0 #A2B02A
analogous
#2A5FB0 #382AB0 #7B2AB0
triadic
#382AB0 #B0382A #2AB038
tetradic
#382AB0 #B02A5F #A2B02A #2AB07B
square
#382AB0 #B02A5F #A2B02A #2AB07B
split-complementary
#382AB0 #B07B2A #5FB02A
monochromatic
#19124D #281E7F #382AB0 #5345D3 #8176DE

Accessibility & contrast

On white

9.88
#382AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#382AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AB0
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AB0#FFFFFF#000000##FFFFFF
##382AB01.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382ab0;
/* rgb */ color: rgb(56, 42, 176);
/* oklch */ color: oklch(40.4% 0.199 277.3);
Tailwind
colors: {
  custom: {
    50: '#8066c9',
    500: '#382ab0',
    950: '#000000',
  },
}
SCSS
$custom: #382ab0;
$custom-light: #8066c9;
$custom-dark: #000000;
JSON
{
  "hex": "#382ab0",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 246.269,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.19948,
    "h": 277.3
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#382AB0
secondary
#BDC670
accent
#E543D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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