#382D7C#382D7C

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

Color values

HEX#382D7C
RGBrgb(56, 45, 124)
HSLhsl(248, 47%, 33%)
HSVhsv(248, 64%, 49%)
CMYKcmyk(54.8%, 63.7%, 0%, 51.4%)
CIE-LABlab(24.23, 27.92, -43.45)
CIE-LCHlch(24.23, 51.65, 302.73°)
OKLaboklab(35.85% 0.0315 -0.1246)
OKLCHoklch(35.85% 0.129 284.2)
XYZxyz(6.2063, 4.1724, 19.5432)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D7C #717C2D
analogous
#2D497C #382D7C #5F2D7C
triadic
#382D7C #7C382D #2D7C38
tetradic
#382D7C #7C2D49 #717C2D #2D7C5F
square
#382D7C #7C2D49 #717C2D #2D7C5F
split-complementary
#382D7C #7C5F2D #497C2D
monochromatic
#0F0C22 #241D4F #382D7C #4C3DA9 #6D5FC5

Accessibility & contrast

On white

11.45
#382D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#382D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D7C
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D7C#FFFFFF#000000##FFFFFF
##382D7C1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#1C4050
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382d7c;
/* rgb */ color: rgb(56, 45, 124);
/* oklch */ color: oklch(35.9% 0.129 284.2);
Tailwind
colors: {
  custom: {
    50: '#7566a3',
    500: '#382d7c',
    950: '#000000',
  },
}
SCSS
$custom: #382d7c;
$custom-light: #7566a3;
$custom-dark: #000000;
JSON
{
  "hex": "#382d7c",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 248.354,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.1285,
    "h": 284.2
  },
  "luminance": 0.04173
}

Semantic roles & 50–950 ramp

primary
#382D7C
secondary
#A0AB5A
accent
#D651C4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #382D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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