#382C80#382C80

#382C80 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.135 H 283.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#382C80
RGBrgb(56, 44, 128)
HSLhsl(249, 49%, 34%)
HSVhsv(249, 66%, 50%)
CMYKcmyk(56.3%, 65.6%, 0%, 49.8%)
CIE-LABlab(24.32, 29.89, -45.83)
CIE-LCHlch(24.32, 54.72, 303.11°)
OKLaboklab(36.02% 0.0322 -0.1316)
OKLCHoklch(36.02% 0.135 283.8)
XYZxyz(6.4267, 4.2003, 20.8900)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C80 #74802C
analogous
#2C4A80 #382C80 #622C80
triadic
#382C80 #80382C #2C8038
tetradic
#382C80 #802C4A #74802C #2C8062
square
#382C80 #802C4A #74802C #2C8062
split-complementary
#382C80 #80622C #4A802C
monochromatic
#100D25 #241C52 #382C80 #4C3CAE #6E5FC8

Accessibility & contrast

On white

11.41
#382C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#382C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C80
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C80#FFFFFF#000000##FFFFFF
##382C801.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#184151
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382c80;
/* rgb */ color: rgb(56, 44, 128);
/* oklch */ color: oklch(36.0% 0.135 283.8);
Tailwind
colors: {
  custom: {
    50: '#7666a6',
    500: '#382c80',
    950: '#000000',
  },
}
SCSS
$custom: #382c80;
$custom-light: #7666a6;
$custom-dark: #000000;
JSON
{
  "hex": "#382c80",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 248.571,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3602,
    "c": 0.13547,
    "h": 283.8
  },
  "luminance": 0.04201
}

Semantic roles & 50–950 ramp

primary
#382C80
secondary
#A2AE5A
accent
#D84FC5
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #382C80

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

Preview Lab → · Contrast checker → · Palette generator →

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