#382B9C#382B9C

#382B9C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.174 H 279.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#382B9C
RGBrgb(56, 43, 156)
HSLhsl(247, 57%, 39%)
HSVhsv(247, 72%, 61%)
CMYKcmyk(64.1%, 72.4%, 0%, 38.8%)
CIE-LABlab(26.64, 39.73, -59.39)
CIE-LCHlch(26.64, 71.45, 303.78°)
OKLaboklab(38.48% 0.0289 -0.1713)
OKLCHoklch(38.48% 0.174 279.6)
XYZxyz(8.4936, 4.9681, 31.9574)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B9C #8F9C2B
analogous
#2B579C #382B9C #712B9C
triadic
#382B9C #9C382B #2B9C38
tetradic
#382B9C #9C2B57 #8F9C2B #2B9C71
square
#382B9C #9C2B57 #8F9C2B #2B9C71
split-complementary
#382B9C #9C712B #579C2B
monochromatic
#16113C #271E6C #382B9C #4B3BC9 #776BD6

Accessibility & contrast

On white

10.53
#382B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#382B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B9C
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B9C#FFFFFF#000000##FFFFFF
##382B9C1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #382b9c;
/* rgb */ color: rgb(56, 43, 156);
/* oklch */ color: oklch(38.5% 0.174 279.6);
Tailwind
colors: {
  custom: {
    50: '#7c66ba',
    500: '#382b9c',
    950: '#000000',
  },
}
SCSS
$custom: #382b9c;
$custom-light: #7c66ba;
$custom-dark: #000000;
JSON
{
  "hex": "#382b9c",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 246.903,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38475,
    "c": 0.17377,
    "h": 279.6
  },
  "luminance": 0.04969
}

Semantic roles & 50–950 ramp

primary
#382B9C
secondary
#B3BD66
accent
#E048CF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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