#382BAD#382BAD

#382BAD is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.2% C 0.195 H 277.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#382BAD
RGBrgb(56, 43, 173)
HSLhsl(246, 60%, 42%)
HSVhsv(246, 75%, 68%)
CMYKcmyk(67.6%, 75.1%, 0%, 32.2%)
CIE-LABlab(28.34, 45.20, -66.88)
CIE-LCHlch(28.34, 80.72, 304.05°)
OKLaboklab(40.19% 0.0254 -0.1932)
OKLCHoklch(40.19% 0.195 277.5)
XYZxyz(10.0351, 5.5848, 40.0762)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BAD #A0AD2B
analogous
#2B5FAD #382BAD #792BAD
triadic
#382BAD #AD382B #2BAD38
tetradic
#382BAD #AD2B5F #A0AD2B #2BAD79
square
#382BAD #AD2B5F #A0AD2B #2BAD79
split-complementary
#382BAD #AD792B #5FAD2B
monochromatic
#18134B #281F7C #382BAD #5345D1 #8076DD

Accessibility & contrast

On white

9.92
#382BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#382BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BAD
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BAD#FFFFFF#000000##FFFFFF
##382BAD1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382bad;
/* rgb */ color: rgb(56, 43, 173);
/* oklch */ color: oklch(40.2% 0.195 277.5);
Tailwind
colors: {
  custom: {
    50: '#7f67c7',
    500: '#382bad',
    950: '#000000',
  },
}
SCSS
$custom: #382bad;
$custom-light: #7f67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#382bad",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 246,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.19488,
    "h": 277.5
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#382BAD
secondary
#BCC46F
accent
#E344D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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