#382C95#382C95

#382C95 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.164 H 280.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#382C95
RGBrgb(56, 44, 149)
HSLhsl(247, 54%, 38%)
HSVhsv(247, 70%, 58%)
CMYKcmyk(62.4%, 70.5%, 0%, 41.6%)
CIE-LABlab(26.19, 36.85, -55.84)
CIE-LCHlch(26.19, 66.91, 303.42°)
OKLaboklab(37.95% 0.0294 -0.161)
OKLCHoklch(37.95% 0.164 280.4)
XYZxyz(7.9547, 4.8115, 28.9375)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C95 #89952C
analogous
#2C5495 #382C95 #6C2C95
triadic
#382C95 #95382C #2C9538
tetradic
#382C95 #952C54 #89952C #2C956C
square
#382C95 #952C54 #89952C #2C956C
split-complementary
#382C95 #956C2C #54952C
monochromatic
#141037 #261E66 #382C95 #4A3AC4 #7569D3

Accessibility & contrast

On white

10.70
#382C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#382C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C95
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C95#FFFFFF#000000##FFFFFF
##382C951.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #382c95;
/* rgb */ color: rgb(56, 44, 149);
/* oklch */ color: oklch(37.9% 0.164 280.4);
Tailwind
colors: {
  custom: {
    50: '#7a66b5',
    500: '#382c95',
    950: '#000000',
  },
}
SCSS
$custom: #382c95;
$custom-light: #7a66b5;
$custom-dark: #000000;
JSON
{
  "hex": "#382c95",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 246.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37948,
    "c": 0.16364,
    "h": 280.4
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#382C95
secondary
#AFB964
accent
#DE4ACD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382C95

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

Preview Lab → · Contrast checker → · Palette generator →

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