#382DA2#382DA2

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

Color values

HEX#382DA2
RGBrgb(56, 45, 162)
HSLhsl(246, 57%, 41%)
HSVhsv(246, 72%, 64%)
CMYKcmyk(65.4%, 72.2%, 0%, 36.5%)
CIE-LABlab(27.64, 40.53, -61.40)
CIE-LCHlch(27.64, 73.57, 303.43°)
OKLaboklab(39.36% 0.0264 -0.1772)
OKLCHoklch(39.36% 0.179 278.5)
XYZxyz(9.0888, 5.3254, 34.7244)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DA2 #97A22D
analogous
#2D5CA2 #382DA2 #722DA2
triadic
#382DA2 #A2382D #2DA238
tetradic
#382DA2 #A22D5C #97A22D #2DA272
square
#382DA2 #A22D5C #97A22D #2DA272
split-complementary
#382DA2 #A2722D #5CA22D
monochromatic
#171242 #272072 #382DA2 #4F42CA #7B72D8

Accessibility & contrast

On white

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

On black

2.07
#382DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##382DA2#FFFFFF#000000##FFFFFF
##382DA21.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #382da2;
/* rgb */ color: rgb(56, 45, 162);
/* oklch */ color: oklch(39.4% 0.179 278.5);
Tailwind
colors: {
  custom: {
    50: '#7d68bf',
    500: '#382da2',
    950: '#000000',
  },
}
SCSS
$custom: #382da2;
$custom-light: #7d68bf;
$custom-dark: #000000;
JSON
{
  "hex": "#382da2",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 245.641,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39363,
    "c": 0.17917,
    "h": 278.5
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#382DA2
secondary
#B7BF6C
accent
#E048D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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