#382C81#382C81

#382C81 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.137 H 283.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#382C81
RGBrgb(56, 44, 129)
HSLhsl(248, 49%, 34%)
HSVhsv(248, 66%, 51%)
CMYKcmyk(56.6%, 65.9%, 0%, 49.4%)
CIE-LABlab(24.41, 30.23, -46.32)
CIE-LCHlch(24.41, 55.31, 303.12°)
OKLaboklab(36.11% 0.0322 -0.133)
OKLCHoklch(36.11% 0.137 283.6)
XYZxyz(6.4928, 4.2267, 21.2383)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C81 #75812C
analogous
#2C4B81 #382C81 #632C81
triadic
#382C81 #81382C #2C8138
tetradic
#382C81 #812C4B #75812C #2C8163
square
#382C81 #812C4B #75812C #2C8163
split-complementary
#382C81 #81632C #4B812C
monochromatic
#100D26 #241C53 #382C81 #4C3CAF #6E5FC8

Accessibility & contrast

On white

11.38
#382C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#382C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C81
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C81#FFFFFF#000000##FFFFFF
##382C811.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#174152
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382c81;
/* rgb */ color: rgb(56, 44, 129);
/* oklch */ color: oklch(36.1% 0.137 283.6);
Tailwind
colors: {
  custom: {
    50: '#7666a6',
    500: '#382c81',
    950: '#000000',
  },
}
SCSS
$custom: #382c81;
$custom-light: #7666a6;
$custom-dark: #000000;
JSON
{
  "hex": "#382c81",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 248.471,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36108,
    "c": 0.13686,
    "h": 283.6
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#382C81
secondary
#A3AF5A
accent
#D94FC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #382C81

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

Preview Lab → · Contrast checker → · Palette generator →

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