#382C8E#382C8E

#382C8E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.154 H 281.4°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#382C8E
RGBrgb(56, 44, 142)
HSLhsl(247, 53%, 36%)
HSVhsv(247, 69%, 56%)
CMYKcmyk(60.6%, 69%, 0%, 44.3%)
CIE-LABlab(25.55, 34.54, -52.58)
CIE-LCHlch(25.55, 62.91, 303.30°)
OKLaboklab(37.29% 0.0305 -0.1514)
OKLCHoklch(37.29% 0.154 281.4)
XYZxyz(7.4125, 4.5946, 26.0822)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C8E #828E2C
analogous
#2C518E #382C8E #692C8E
triadic
#382C8E #8E382C #2C8E38
tetradic
#382C8E #8E2C51 #828E2C #2C8E69
square
#382C8E #8E2C51 #828E2C #2C8E69
split-complementary
#382C8E #8E692C #518E2C
monochromatic
#130F31 #261E5F #382C8E #4A3ABD #7265CF

Accessibility & contrast

On white

10.94
#382C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#382C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C8E
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C8E#FFFFFF#000000##FFFFFF
##382C8E1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382c8e;
/* rgb */ color: rgb(56, 44, 142);
/* oklch */ color: oklch(37.3% 0.154 281.4);
Tailwind
colors: {
  custom: {
    50: '#7966b0',
    500: '#382c8e',
    950: '#000000',
  },
}
SCSS
$custom: #382c8e;
$custom-light: #7966b0;
$custom-dark: #000000;
JSON
{
  "hex": "#382c8e",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 247.347,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37287,
    "c": 0.15444,
    "h": 281.4
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#382C8E
secondary
#ABB660
accent
#DC4CCA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #382C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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