#382D8E#382D8E

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

Color values

HEX#382D8E
RGBrgb(56, 45, 142)
HSLhsl(247, 52%, 37%)
HSVhsv(247, 68%, 56%)
CMYKcmyk(60.6%, 68.3%, 0%, 44.3%)
CIE-LABlab(25.77, 33.93, -52.21)
CIE-LCHlch(25.77, 62.26, 303.02°)
OKLaboklab(37.45% 0.0297 -0.1503)
OKLCHoklch(37.45% 0.153 281.2)
XYZxyz(7.4502, 4.6700, 26.0947)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D8E #838E2D
analogous
#2D538E #382D8E #692D8E
triadic
#382D8E #8E382D #2D8E38
tetradic
#382D8E #8E2D53 #838E2D #2D8E69
square
#382D8E #8E2D53 #838E2D #2D8E69
split-complementary
#382D8E #8E692D #538E2D
monochromatic
#131031 #261E60 #382D8E #4A3CBC #7267CF

Accessibility & contrast

On white

10.86
#382D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#382D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D8E
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D8E#FFFFFF#000000##FFFFFF
##382D8E1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382d8e;
/* rgb */ color: rgb(56, 45, 142);
/* oklch */ color: oklch(37.5% 0.153 281.2);
Tailwind
colors: {
  custom: {
    50: '#7967b0',
    500: '#382d8e',
    950: '#000000',
  },
}
SCSS
$custom: #382d8e;
$custom-light: #7967b0;
$custom-dark: #000000;
JSON
{
  "hex": "#382d8e",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 246.804,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3745,
    "c": 0.15321,
    "h": 281.2
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#382D8E
secondary
#ACB561
accent
#DB4CCB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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