#382AAD#382AAD

#382AAD is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.196 H 277.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#382AAD
RGBrgb(56, 42, 173)
HSLhsl(246, 61%, 42%)
HSVhsv(246, 76%, 68%)
CMYKcmyk(67.6%, 75.7%, 0%, 32.2%)
CIE-LABlab(28.15, 45.74, -67.20)
CIE-LCHlch(28.15, 81.29, 304.24°)
OKLaboklab(40.05% 0.026 -0.1941)
OKLCHoklch(40.05% 0.196 277.6)
XYZxyz(9.9992, 5.5129, 40.0642)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AAD #9FAD2A
analogous
#2A5EAD #382AAD #792AAD
triadic
#382AAD #AD382A #2AAD38
tetradic
#382AAD #AD2A5E #9FAD2A #2AAD79
square
#382AAD #AD2A5E #9FAD2A #2AAD79
split-complementary
#382AAD #AD792A #5EAD2A
monochromatic
#18124B #281E7C #382AAD #5243D1 #7F74DD

Accessibility & contrast

On white

9.99
#382AAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#382AAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AAD
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AAD#FFFFFF#000000##FFFFFF
##382AAD1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382aad;
/* rgb */ color: rgb(56, 42, 173);
/* oklch */ color: oklch(40.1% 0.196 277.6);
Tailwind
colors: {
  custom: {
    50: '#7f66c7',
    500: '#382aad',
    950: '#000000',
  },
}
SCSS
$custom: #382aad;
$custom-light: #7f66c7;
$custom-dark: #000000;
JSON
{
  "hex": "#382aad",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 246.412,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40054,
    "c": 0.19586,
    "h": 277.6
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#382AAD
secondary
#BBC56E
accent
#E444D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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