#382C8A#382C8A

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

Color values

HEX#382C8A
RGBrgb(56, 44, 138)
HSLhsl(248, 52%, 36%)
HSVhsv(248, 68%, 54%)
CMYKcmyk(59.4%, 68.1%, 0%, 45.9%)
CIE-LABlab(25.19, 33.21, -50.68)
CIE-LCHlch(25.19, 60.59, 303.24°)
OKLaboklab(36.92% 0.0311 -0.1458)
OKLCHoklch(36.92% 0.149 282)
XYZxyz(7.1176, 4.4766, 24.5288)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C8A #7E8A2C
analogous
#2C4F8A #382C8A #672C8A
triadic
#382C8A #8A382C #2C8A38
tetradic
#382C8A #8A2C4F #7E8A2C #2C8A67
square
#382C8A #8A2C4F #7E8A2C #2C8A67
split-complementary
#382C8A #8A672C #4F8A2C
monochromatic
#120E2D #251D5C #382C8A #4B3BB8 #7163CD

Accessibility & contrast

On white

11.08
#382C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#382C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C8A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C8A#FFFFFF#000000##FFFFFF
##382C8A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003888
Tritanopia (blue-blind)
#084457
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382c8a;
/* rgb */ color: rgb(56, 44, 138);
/* oklch */ color: oklch(36.9% 0.149 282.0);
Tailwind
colors: {
  custom: {
    50: '#7866ad',
    500: '#382c8a',
    950: '#000000',
  },
}
SCSS
$custom: #382c8a;
$custom-light: #7866ad;
$custom-dark: #000000;
JSON
{
  "hex": "#382c8a",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 247.66,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36917,
    "c": 0.14911,
    "h": 282
  },
  "luminance": 0.04477
}

Semantic roles & 50–950 ramp

primary
#382C8A
secondary
#A9B45E
accent
#DB4DC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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