#382FA4#382FA4

#382FA4 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.179 H 277.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#382FA4
RGBrgb(56, 47, 164)
HSLhsl(245, 55%, 41%)
HSVhsv(245, 71%, 64%)
CMYKcmyk(65.9%, 71.3%, 0%, 35.7%)
CIE-LABlab(28.26, 40.02, -61.60)
CIE-LCHlch(28.26, 73.46, 303.01°)
OKLaboklab(39.86% 0.0246 -0.1778)
OKLCHoklch(39.86% 0.18 277.9)
XYZxyz(9.3461, 5.5533, 35.6941)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FA4 #9BA42F
analogous
#2F61A4 #382FA4 #732FA4
triadic
#382FA4 #A4382F #2FA438
tetradic
#382FA4 #A42F61 #9BA42F #2FA473
square
#382FA4 #A42F61 #9BA42F #2FA473
split-complementary
#382FA4 #A4732F #61A42F
monochromatic
#181445 #282174 #382FA4 #5046CA #7D76D8

Accessibility & contrast

On white

9.95
#382FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#382FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FA4
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FA4#FFFFFF#000000##FFFFFF
##382FA41.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#003EA2
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382fa4;
/* rgb */ color: rgb(56, 47, 164);
/* oklch */ color: oklch(39.9% 0.179 277.9);
Tailwind
colors: {
  custom: {
    50: '#7d69c0',
    500: '#382fa4',
    950: '#000000',
  },
}
SCSS
$custom: #382fa4;
$custom-light: #7d69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#382fa4",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 244.615,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.1795,
    "h": 277.9
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#382FA4
secondary
#B9C06F
accent
#DF49D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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