#382CA7#382CA7

#382CA7 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.7% C 0.186 H 278.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#382CA7
RGBrgb(56, 44, 167)
HSLhsl(246, 58%, 41%)
HSVhsv(246, 74%, 65%)
CMYKcmyk(66.5%, 73.7%, 0%, 34.5%)
CIE-LABlab(27.93, 42.72, -63.95)
CIE-LCHlch(27.93, 76.91, 303.75°)
OKLaboklab(39.72% 0.0261 -0.1847)
OKLCHoklch(39.72% 0.187 278)
XYZxyz(9.5044, 5.4313, 37.0992)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CA7 #9BA72C
analogous
#2C5EA7 #382CA7 #762CA7
triadic
#382CA7 #A7382C #2CA738
tetradic
#382CA7 #A72C5E #9BA72C #2CA776
square
#382CA7 #A72C5E #9BA72C #2CA776
split-complementary
#382CA7 #A7762C #5EA72C
monochromatic
#181246 #281F77 #382CA7 #5043CD #7D73DA

Accessibility & contrast

On white

10.07
#382CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#382CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CA7
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CA7#FFFFFF#000000##FFFFFF
##382CA71.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#003DA5
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382ca7;
/* rgb */ color: rgb(56, 44, 167);
/* oklch */ color: oklch(39.7% 0.186 278.0);
Tailwind
colors: {
  custom: {
    50: '#7e67c2',
    500: '#382ca7',
    950: '#000000',
  },
}
SCSS
$custom: #382ca7;
$custom-light: #7e67c2;
$custom-dark: #000000;
JSON
{
  "hex": "#382ca7",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 245.854,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39717,
    "c": 0.1865,
    "h": 278
  },
  "luminance": 0.05432
}

Semantic roles & 50–950 ramp

primary
#382CA7
secondary
#B9C26D
accent
#E246D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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