#382AA7#382AA7

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

Color values

HEX#382AA7
RGBrgb(56, 42, 167)
HSLhsl(247, 60%, 41%)
HSVhsv(247, 75%, 65%)
CMYKcmyk(66.5%, 74.9%, 0%, 34.5%)
CIE-LABlab(27.53, 43.84, -64.60)
CIE-LCHlch(27.53, 78.07, 304.16°)
OKLaboklab(39.44% 0.0273 -0.1865)
OKLCHoklch(39.44% 0.189 278.3)
XYZxyz(9.4317, 5.2859, 37.0750)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AA7 #99A72A
analogous
#2A5AA7 #382AA7 #762AA7
triadic
#382AA7 #A7382A #2AA738
tetradic
#382AA7 #A72A5A #99A72A #2AA776
square
#382AA7 #A72A5A #99A72A #2AA776
split-complementary
#382AA7 #A7762A #5AA72A
monochromatic
#171145 #281E76 #382AA7 #4F3FCF #7C70DB

Accessibility & contrast

On white

10.21
#382AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#382AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AA7
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AA7#FFFFFF#000000##FFFFFF
##382AA71.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#004E66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #382aa7;
/* rgb */ color: rgb(56, 42, 167);
/* oklch */ color: oklch(39.4% 0.189 278.3);
Tailwind
colors: {
  custom: {
    50: '#7e66c2',
    500: '#382aa7',
    950: '#000000',
  },
}
SCSS
$custom: #382aa7;
$custom-light: #7e66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#382aa7",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 246.72,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39436,
    "c": 0.18854,
    "h": 278.3
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#382AA7
secondary
#B8C26B
accent
#E345D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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