#382AA3#382AA3

#382AA3 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.184 H 278.8°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#382AA3
RGBrgb(56, 42, 163)
HSLhsl(247, 59%, 40%)
HSVhsv(247, 74%, 64%)
CMYKcmyk(65.6%, 74.2%, 0%, 36.1%)
CIE-LABlab(27.13, 42.56, -62.85)
CIE-LCHlch(27.13, 75.90, 304.10°)
OKLaboklab(39.03% 0.0282 -0.1814)
OKLCHoklch(39.03% 0.184 278.8)
XYZxyz(9.0676, 5.1403, 35.1576)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AA3 #95A32A
analogous
#2A59A3 #382AA3 #742AA3
triadic
#382AA3 #A3382A #2AA338
tetradic
#382AA3 #A32A59 #95A32A #2AA374
square
#382AA3 #A32A59 #95A32A #2AA374
split-complementary
#382AA3 #A3742A #59A32A
monochromatic
#171142 #271D72 #382AA3 #4E3DCD #7A6EDA

Accessibility & contrast

On white

10.35
#382AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#382AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AA3
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AA3#FFFFFF#000000##FFFFFF
##382AA31.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #382aa3;
/* rgb */ color: rgb(56, 42, 163);
/* oklch */ color: oklch(39.0% 0.184 278.8);
Tailwind
colors: {
  custom: {
    50: '#7d66bf',
    500: '#382aa3',
    950: '#000000',
  },
}
SCSS
$custom: #382aa3;
$custom-light: #7d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#382aa3",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 246.942,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.18361,
    "h": 278.8
  },
  "luminance": 0.05141
}

Semantic roles & 50–950 ramp

primary
#382AA3
secondary
#B6C068
accent
#E246D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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