#382A8D#382A8D

#382A8D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.156 H 282.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#382A8D
RGBrgb(56, 42, 141)
HSLhsl(248, 54%, 36%)
HSVhsv(248, 70%, 55%)
CMYKcmyk(60.3%, 70.2%, 0%, 44.7%)
CIE-LABlab(25.01, 35.42, -52.83)
CIE-LCHlch(25.01, 63.61, 303.84°)
OKLaboklab(36.87% 0.0325 -0.1521)
OKLCHoklch(36.87% 0.156 282)
XYZxyz(7.2651, 4.4193, 25.6643)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382A8D #7F8D2A
analogous
#2A4D8D #382A8D #692A8D
triadic
#382A8D #8D382A #2A8D38
tetradic
#382A8D #8D2A4D #7F8D2A #2A8D69
square
#382A8D #8D2A4D #7F8D2A #2A8D69
split-complementary
#382A8D #8D692A #4D8D2A
monochromatic
#130E2F #251C5E #382A8D #4B38BC #7161D0

Accessibility & contrast

On white

11.15
#382A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#382A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382A8D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382A8D#FFFFFF#000000##FFFFFF
##382A8D1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#014458
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382a8d;
/* rgb */ color: rgb(56, 42, 141);
/* oklch */ color: oklch(36.9% 0.156 282.0);
Tailwind
colors: {
  custom: {
    50: '#7965af',
    500: '#382a8d',
    950: '#000000',
  },
}
SCSS
$custom: #382a8d;
$custom-light: #7965af;
$custom-dark: #000000;
JSON
{
  "hex": "#382a8d",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 248.485,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36874,
    "c": 0.15556,
    "h": 282
  },
  "luminance": 0.0442
}

Semantic roles & 50–950 ramp

primary
#382A8D
secondary
#A9B65D
accent
#DD4AC9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #382A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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