#382F96#382F96

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

Color values

HEX#382F96
RGBrgb(56, 47, 150)
HSLhsl(245, 52%, 39%)
HSVhsv(245, 69%, 59%)
CMYKcmyk(62.7%, 68.7%, 0%, 41.2%)
CIE-LABlab(26.95, 35.37, -55.22)
CIE-LCHlch(26.95, 65.57, 302.64°)
OKLaboklab(38.52% 0.0268 -0.1591)
OKLCHoklch(38.52% 0.161 279.6)
XYZxyz(8.1507, 5.0752, 29.3983)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F96 #8D962F
analogous
#2F5996 #382F96 #6B2F96
triadic
#382F96 #96382F #2F9638
tetradic
#382F96 #962F59 #8D962F #2F966B
square
#382F96 #962F59 #8D962F #2F966B
split-complementary
#382F96 #966B2F #59962F
monochromatic
#151239 #272067 #382F96 #4B3FC3 #776ED2

Accessibility & contrast

On white

10.42
#382F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#382F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F96
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F96#FFFFFF#000000##FFFFFF
##382F961.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #382f96;
/* rgb */ color: rgb(56, 47, 150);
/* oklch */ color: oklch(38.5% 0.161 279.6);
Tailwind
colors: {
  custom: {
    50: '#7a68b6',
    500: '#382f96',
    950: '#000000',
  },
}
SCSS
$custom: #382f96;
$custom-light: #7a68b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382f96",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 245.243,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38521,
    "c": 0.16137,
    "h": 279.6
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#382F96
secondary
#B2B968
accent
#DC4CCF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382F96

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

Preview Lab → · Contrast checker → · Palette generator →

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