#382C83#382C83

#382C83 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.140 H 283.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#382C83
RGBrgb(56, 44, 131)
HSLhsl(248, 50%, 34%)
HSVhsv(248, 66%, 51%)
CMYKcmyk(57.3%, 66.4%, 0%, 48.6%)
CIE-LABlab(24.58, 30.89, -47.30)
CIE-LCHlch(24.58, 56.49, 303.15°)
OKLaboklab(36.29% 0.0319 -0.1359)
OKLCHoklch(36.29% 0.14 283.2)
XYZxyz(6.6270, 4.2804, 21.9453)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C83 #77832C
analogous
#2C4C83 #382C83 #642C83
triadic
#382C83 #83382C #2C8338
tetradic
#382C83 #832C4C #77832C #2C8364
square
#382C83 #832C4C #77832C #2C8364
split-complementary
#382C83 #83642C #4C832C
monochromatic
#110D27 #241D55 #382C83 #4C3BB1 #6E60CA

Accessibility & contrast

On white

11.31
#382C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#382C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C83
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C83#FFFFFF#000000##FFFFFF
##382C831.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#144253
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382c83;
/* rgb */ color: rgb(56, 44, 131);
/* oklch */ color: oklch(36.3% 0.140 283.2);
Tailwind
colors: {
  custom: {
    50: '#7766a8',
    500: '#382c83',
    950: '#000000',
  },
}
SCSS
$custom: #382c83;
$custom-light: #7766a8;
$custom-dark: #000000;
JSON
{
  "hex": "#382c83",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 248.276,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.13961,
    "h": 283.2
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#382C83
secondary
#A4B05B
accent
#D94FC6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #382C83

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

Preview Lab → · Contrast checker → · Palette generator →

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