#382B94#382B94

#382B94 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.164 H 280.7°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#382B94
RGBrgb(56, 43, 148)
HSLhsl(247, 55%, 37%)
HSVhsv(247, 71%, 58%)
CMYKcmyk(62.2%, 70.9%, 0%, 42%)
CIE-LABlab(25.88, 37.12, -55.74)
CIE-LCHlch(25.88, 66.97, 303.66°)
OKLaboklab(37.7% 0.0304 -0.1606)
OKLCHoklch(37.7% 0.164 280.7)
XYZxyz(7.8384, 4.7061, 28.5065)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B94 #87942B
analogous
#2B5294 #382B94 #6D2B94
triadic
#382B94 #94382B #2B9438
tetradic
#382B94 #942B52 #87942B #2B946D
square
#382B94 #942B52 #87942B #2B946D
split-complementary
#382B94 #946D2B #52942B
monochromatic
#140F35 #261D65 #382B94 #4A39C3 #7467D3

Accessibility & contrast

On white

10.82
#382B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#382B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B94
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B94#FFFFFF#000000##FFFFFF
##382B941.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382b94;
/* rgb */ color: rgb(56, 43, 148);
/* oklch */ color: oklch(37.7% 0.164 280.7);
Tailwind
colors: {
  custom: {
    50: '#7a66b4',
    500: '#382b94',
    950: '#000000',
  },
}
SCSS
$custom: #382b94;
$custom-light: #7a66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#382b94",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 247.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37696,
    "c": 0.1635,
    "h": 280.7
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

primary
#382B94
secondary
#AEB962
accent
#DE49CC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382B94

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

Preview Lab → · Contrast checker → · Palette generator →

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