#382A92#382A92

#382A92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.162 H 281.2°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#382A92
RGBrgb(56, 42, 146)
HSLhsl(248, 55%, 37%)
HSVhsv(248, 71%, 57%)
CMYKcmyk(61.6%, 71.2%, 0%, 42.7%)
CIE-LABlab(25.48, 37.06, -55.17)
CIE-LCHlch(25.48, 66.46, 303.89°)
OKLaboklab(37.35% 0.0316 -0.159)
OKLCHoklch(37.35% 0.162 281.2)
XYZxyz(7.6455, 4.5715, 27.6680)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A92 #84922A
analogous
#2A5092 #382A92 #6C2A92
triadic
#382A92 #92382A #2A9238
tetradic
#382A92 #922A50 #84922A #2A926C
square
#382A92 #922A50 #84922A #2A926C
split-complementary
#382A92 #926C2A #50922A
monochromatic
#140F33 #261C62 #382A92 #4A38C2 #7364D2

Accessibility & contrast

On white

10.97
#382A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#382A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A92
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A92#FFFFFF#000000##FFFFFF
##382A921.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382a92;
/* rgb */ color: rgb(56, 42, 146);
/* oklch */ color: oklch(37.4% 0.162 281.2);
Tailwind
colors: {
  custom: {
    50: '#7a65b3',
    500: '#382a92',
    950: '#000000',
  },
}
SCSS
$custom: #382a92;
$custom-light: #7a65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#382a92",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 248.077,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3735,
    "c": 0.16209,
    "h": 281.2
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#382A92
secondary
#ACB85F
accent
#DF49CB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382A92

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

Preview Lab → · Contrast checker → · Palette generator →

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