#382D8F#382D8F

#382D8F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.155 H 281.0°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#382D8F
RGBrgb(56, 45, 143)
HSLhsl(247, 52%, 37%)
HSVhsv(247, 69%, 56%)
CMYKcmyk(60.8%, 68.5%, 0%, 43.9%)
CIE-LABlab(25.86, 34.26, -52.68)
CIE-LCHlch(25.86, 62.84, 303.04°)
OKLaboklab(37.54% 0.0295 -0.1517)
OKLCHoklch(37.54% 0.155 281)
XYZxyz(7.5256, 4.7002, 26.4919)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D8F #848F2D
analogous
#2D538F #382D8F #692D8F
triadic
#382D8F #8F382D #2D8F38
tetradic
#382D8F #8F2D53 #848F2D #2D8F69
square
#382D8F #8F2D53 #848F2D #2D8F69
split-complementary
#382D8F #8F692D #538F2D
monochromatic
#141032 #261E60 #382D8F #4A3CBE #7367CF

Accessibility & contrast

On white

10.82
#382D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#382D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D8F
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D8F#FFFFFF#000000##FFFFFF
##382D8F1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382d8f;
/* rgb */ color: rgb(56, 45, 143);
/* oklch */ color: oklch(37.5% 0.155 281.0);
Tailwind
colors: {
  custom: {
    50: '#7967b1',
    500: '#382d8f',
    950: '#000000',
  },
}
SCSS
$custom: #382d8f;
$custom-light: #7967b1;
$custom-dark: #000000;
JSON
{
  "hex": "#382d8f",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 246.735,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37543,
    "c": 0.15453,
    "h": 281
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#382D8F
secondary
#ACB662
accent
#DC4CCB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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