#382CAD#382CAD

#382CAD is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.194 H 277.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#382CAD
RGBrgb(56, 44, 173)
HSLhsl(246, 59%, 43%)
HSVhsv(246, 75%, 68%)
CMYKcmyk(67.6%, 74.6%, 0%, 32.2%)
CIE-LABlab(28.53, 44.65, -66.56)
CIE-LCHlch(28.53, 80.15, 303.85°)
OKLaboklab(40.33% 0.0248 -0.1923)
OKLCHoklch(40.33% 0.194 277.3)
XYZxyz(10.0719, 5.6584, 40.0885)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CAD #A1AD2C
analogous
#2C61AD #382CAD #782CAD
triadic
#382CAD #AD382C #2CAD38
tetradic
#382CAD #AD2C61 #A1AD2C #2CAD78
square
#382CAD #AD2C61 #A1AD2C #2CAD78
split-complementary
#382CAD #AD782C #61AD2C
monochromatic
#18134B #28207C #382CAD #5346D0 #8077DC

Accessibility & contrast

On white

9.85
#382CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382CAD
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CAD#FFFFFF#000000##FFFFFF
##382CAD1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382cad;
/* rgb */ color: rgb(56, 44, 173);
/* oklch */ color: oklch(40.3% 0.194 277.3);
Tailwind
colors: {
  custom: {
    50: '#7f67c7',
    500: '#382cad',
    950: '#000000',
  },
}
SCSS
$custom: #382cad;
$custom-light: #7f67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#382cad",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 173
  },
  "hsl": {
    "h": 245.581,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40326,
    "c": 0.19388,
    "h": 277.3
  },
  "luminance": 0.05659
}

Semantic roles & 50–950 ramp

primary
#382CAD
secondary
#BCC471
accent
#E345D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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