#382D7E#382D7E

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

Color values

HEX#382D7E
RGBrgb(56, 45, 126)
HSLhsl(248, 47%, 34%)
HSVhsv(248, 64%, 49%)
CMYKcmyk(55.6%, 64.3%, 0%, 50.6%)
CIE-LABlab(24.40, 28.59, -44.45)
CIE-LCHlch(24.40, 52.85, 302.75°)
OKLaboklab(36.02% 0.0314 -0.1275)
OKLCHoklch(36.02% 0.131 283.8)
XYZxyz(6.3340, 4.2235, 20.2161)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D7E #737E2D
analogous
#2D4A7E #382D7E #602D7E
triadic
#382D7E #7E382D #2D7E38
tetradic
#382D7E #7E2D4A #737E2D #2D7E60
square
#382D7E #7E2D4A #737E2D #2D7E60
split-complementary
#382D7E #7E602D #4A7E2D
monochromatic
#100D24 #241D51 #382D7E #4C3DAB #6D5FC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##382D7E#FFFFFF#000000##FFFFFF
##382D7E1.0011.381.8411.38
#FFFFFF11.381.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#1A4151
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382d7e;
/* rgb */ color: rgb(56, 45, 126);
/* oklch */ color: oklch(36.0% 0.131 283.8);
Tailwind
colors: {
  custom: {
    50: '#7666a4',
    500: '#382d7e',
    950: '#000000',
  },
}
SCSS
$custom: #382d7e;
$custom-light: #7666a4;
$custom-dark: #000000;
JSON
{
  "hex": "#382d7e",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 248.148,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36022,
    "c": 0.13132,
    "h": 283.8
  },
  "luminance": 0.04224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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