#382C9F#382C9F

#382C9F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.176 H 279.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#382C9F
RGBrgb(56, 44, 159)
HSLhsl(246, 57%, 40%)
HSVhsv(246, 72%, 62%)
CMYKcmyk(64.8%, 72.3%, 0%, 37.6%)
CIE-LABlab(27.14, 40.13, -60.40)
CIE-LCHlch(27.14, 72.51, 303.60°)
OKLaboklab(38.92% 0.0276 -0.1743)
OKLCHoklch(38.92% 0.176 279)
XYZxyz(8.7876, 5.1446, 33.3241)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C9F #939F2C
analogous
#2C599F #382C9F #722C9F
triadic
#382C9F #9F382C #2C9F38
tetradic
#382C9F #9F2C59 #939F2C #2C9F72
square
#382C9F #9F2C59 #939F2C #2C9F72
split-complementary
#382C9F #9F722C #599F2C
monochromatic
#16113F #271F6F #382C9F #4D3ECA #796ED7

Accessibility & contrast

On white

10.35
#382C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#382C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C9F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C9F#FFFFFF#000000##FFFFFF
##382C9F1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #382c9f;
/* rgb */ color: rgb(56, 44, 159);
/* oklch */ color: oklch(38.9% 0.176 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c67bc',
    500: '#382c9f',
    950: '#000000',
  },
}
SCSS
$custom: #382c9f;
$custom-light: #7c67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#382c9f",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 246.261,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38919,
    "c": 0.17647,
    "h": 279
  },
  "luminance": 0.05145
}

Semantic roles & 50–950 ramp

primary
#382C9F
secondary
#B5BE69
accent
#E048D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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