#382A91#382A91

#382A91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.161 H 281.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#382A91
RGBrgb(56, 42, 145)
HSLhsl(248, 55%, 37%)
HSVhsv(248, 71%, 57%)
CMYKcmyk(61.4%, 71%, 0%, 43.1%)
CIE-LABlab(25.38, 36.73, -54.70)
CIE-LCHlch(25.38, 65.89, 303.88°)
OKLaboklab(37.25% 0.0318 -0.1576)
OKLCHoklch(37.25% 0.161 281.4)
XYZxyz(7.5681, 4.5405, 27.2602)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A91 #83912A
analogous
#2A5091 #382A91 #6C2A91
triadic
#382A91 #91382A #2A9138
tetradic
#382A91 #912A50 #83912A #2A916C
square
#382A91 #912A50 #83912A #2A916C
split-complementary
#382A91 #916C2A #50912A
monochromatic
#130F32 #261C62 #382A91 #4A38C0 #7263D2

Accessibility & contrast

On white

11.01
#382A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382A91
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A91#FFFFFF#000000##FFFFFF
##382A911.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382a91;
/* rgb */ color: rgb(56, 42, 145);
/* oklch */ color: oklch(37.3% 0.161 281.4);
Tailwind
colors: {
  custom: {
    50: '#7965b2',
    500: '#382a91',
    950: '#000000',
  },
}
SCSS
$custom: #382a91;
$custom-light: #7965b2;
$custom-dark: #000000;
JSON
{
  "hex": "#382a91",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 248.155,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37254,
    "c": 0.16079,
    "h": 281.4
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382A91

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

Preview Lab → · Contrast checker → · Palette generator →

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