#382D7D#382D7D

#382D7D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.130 H 284.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#382D7D
RGBrgb(56, 45, 125)
HSLhsl(248, 47%, 33%)
HSVhsv(248, 64%, 49%)
CMYKcmyk(55.2%, 64%, 0%, 51%)
CIE-LABlab(24.31, 28.26, -43.95)
CIE-LCHlch(24.31, 52.25, 302.74°)
OKLaboklab(35.94% 0.0314 -0.126)
OKLCHoklch(35.94% 0.13 284)
XYZxyz(6.2698, 4.1978, 19.8779)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D7D #727D2D
analogous
#2D4A7D #382D7D #602D7D
triadic
#382D7D #7D382D #2D7D38
tetradic
#382D7D #7D2D4A #727D2D #2D7D60
square
#382D7D #7D2D4A #727D2D #2D7D60
split-complementary
#382D7D #7D602D #4A7D2D
monochromatic
#100D23 #241D50 #382D7D #4C3DAA #6D5FC5

Accessibility & contrast

On white

11.42
#382D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382D7D
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D7D#FFFFFF#000000##FFFFFF
##382D7D1.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00377B
Tritanopia (blue-blind)
#1B4050
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382d7d;
/* rgb */ color: rgb(56, 45, 125);
/* oklch */ color: oklch(35.9% 0.130 284.0);
Tailwind
colors: {
  custom: {
    50: '#7566a3',
    500: '#382d7d',
    950: '#000000',
  },
}
SCSS
$custom: #382d7d;
$custom-light: #7566a3;
$custom-dark: #000000;
JSON
{
  "hex": "#382d7d",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 248.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35936,
    "c": 0.12991,
    "h": 284
  },
  "luminance": 0.04198
}

Semantic roles & 50–950 ramp

primary
#382D7D
secondary
#A1AC5A
accent
#D751C4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #382D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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