#382D72#382D72

#382D72 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 35.0% C 0.114 H 286.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#382D72
RGBrgb(56, 45, 114)
HSLhsl(250, 43%, 31%)
HSVhsv(250, 61%, 45%)
CMYKcmyk(50.9%, 60.5%, 0%, 55.3%)
CIE-LABlab(23.45, 24.60, -38.36)
CIE-LCHlch(23.45, 45.57, 302.67°)
OKLaboklab(35.02% 0.0319 -0.1096)
OKLCHoklch(35.02% 0.114 286.2)
XYZxyz(5.6056, 3.9322, 16.3799)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D72 #67722D
analogous
#2D4472 #382D72 #5A2D72
triadic
#382D72 #72382D #2D7238
tetradic
#382D72 #722D44 #67722D #2D725A
square
#382D72 #722D44 #67722D #2D725A
split-complementary
#382D72 #725A2D #44722D
monochromatic
#0D0A1A #221C46 #382D72 #4E3E9E #6B5BBE

Accessibility & contrast

On white

11.76
#382D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#382D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D72
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D72#FFFFFF#000000##FFFFFF
##382D721.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#003671
Tritanopia (blue-blind)
#243D4B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #382d72;
/* rgb */ color: rgb(56, 45, 114);
/* oklch */ color: oklch(35.0% 0.114 286.2);
Tailwind
colors: {
  custom: {
    50: '#74669b',
    500: '#382d72',
    950: '#000000',
  },
}
SCSS
$custom: #382d72;
$custom-light: #74669b;
$custom-dark: #000000;
JSON
{
  "hex": "#382d72",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 249.565,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35024,
    "c": 0.11415,
    "h": 286.2
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#382D72
secondary
#97A357
accent
#D355BF
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #382D72

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

Preview Lab → · Contrast checker → · Palette generator →

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