#382C8F#382C8F

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

Color values

HEX#382C8F
RGBrgb(56, 44, 143)
HSLhsl(247, 53%, 37%)
HSVhsv(247, 69%, 56%)
CMYKcmyk(60.8%, 69.2%, 0%, 43.9%)
CIE-LABlab(25.64, 34.87, -53.05)
CIE-LCHlch(25.64, 63.48, 303.32°)
OKLaboklab(37.38% 0.0304 -0.1528)
OKLCHoklch(37.38% 0.156 281.3)
XYZxyz(7.4879, 4.6248, 26.4794)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C8F #838F2C
analogous
#2C528F #382C8F #6A2C8F
triadic
#382C8F #8F382C #2C8F38
tetradic
#382C8F #8F2C52 #838F2C #2C8F6A
square
#382C8F #8F2C52 #838F2C #2C8F6A
split-complementary
#382C8F #8F6A2C #528F2C
monochromatic
#130F31 #261E60 #382C8F #4A3ABE #7266D0

Accessibility & contrast

On white

10.91
#382C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#382C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C8F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C8F#FFFFFF#000000##FFFFFF
##382C8F1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382c8f;
/* rgb */ color: rgb(56, 44, 143);
/* oklch */ color: oklch(37.4% 0.156 281.3);
Tailwind
colors: {
  custom: {
    50: '#7966b1',
    500: '#382c8f',
    950: '#000000',
  },
}
SCSS
$custom: #382c8f;
$custom-light: #7966b1;
$custom-dark: #000000;
JSON
{
  "hex": "#382c8f",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 247.273,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3738,
    "c": 0.15576,
    "h": 281.3
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#382C8F
secondary
#ACB661
accent
#DC4BCB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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