#382AA0#382AA0

#382AA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.180 H 279.2°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#382AA0
RGBrgb(56, 42, 160)
HSLhsl(247, 58%, 40%)
HSVhsv(247, 74%, 63%)
CMYKcmyk(65%, 73.8%, 0%, 37.3%)
CIE-LABlab(26.83, 41.59, -61.52)
CIE-LCHlch(26.83, 74.26, 304.06°)
OKLaboklab(38.73% 0.0288 -0.1776)
OKLCHoklch(38.73% 0.18 279.2)
XYZxyz(8.8020, 5.0340, 33.7587)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AA0 #92A02A
analogous
#2A57A0 #382AA0 #732AA0
triadic
#382AA0 #A0382A #2AA038
tetradic
#382AA0 #A02A57 #92A02A #2AA073
square
#382AA0 #A02A57 #92A02A #2AA073
split-complementary
#382AA0 #A0732A #57A02A
monochromatic
#16113F #271D70 #382AA0 #4D3CCC #796CD8

Accessibility & contrast

On white

10.46
#382AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#382AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AA0
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AA0#FFFFFF#000000##FFFFFF
##382AA01.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A3
Deuteranopia (green-blind)
#003B9E
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382aa0;
/* rgb */ color: rgb(56, 42, 160);
/* oklch */ color: oklch(38.7% 0.180 279.2);
Tailwind
colors: {
  custom: {
    50: '#7c66bd',
    500: '#382aa0',
    950: '#000000',
  },
}
SCSS
$custom: #382aa0;
$custom-light: #7c66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#382aa0",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 247.119,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38727,
    "c": 0.17988,
    "h": 279.2
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#382AA0
secondary
#B5BF67
accent
#E246CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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