#382896#382896

#382896 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.169 H 281.0°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#382896
RGBrgb(56, 40, 150)
HSLhsl(249, 58%, 37%)
HSVhsv(249, 73%, 59%)
CMYKcmyk(62.7%, 73.3%, 0%, 41.2%)
CIE-LABlab(25.44, 39.51, -57.69)
CIE-LCHlch(25.44, 69.92, 304.41°)
OKLaboklab(37.44% 0.0324 -0.1663)
OKLCHoklch(37.44% 0.169 281)
XYZxyz(7.8930, 4.5598, 29.3124)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382896 #869628
analogous
#284F96 #382896 #6F2896
triadic
#382896 #963828 #289638
tetradic
#382896 #96284F #869628 #28966F
square
#382896 #96284F #869628 #28966F
split-complementary
#382896 #966F28 #4F9628
monochromatic
#140E35 #261B66 #382896 #4A35C6 #7463D5

Accessibility & contrast

On white

10.98
#382896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#382896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382896
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382896#FFFFFF#000000##FFFFFF
##3828961.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382896;
/* rgb */ color: rgb(56, 40, 150);
/* oklch */ color: oklch(37.4% 0.169 281.0);
Tailwind
colors: {
  custom: {
    50: '#7b64b6',
    500: '#382896',
    950: '#000000',
  },
}
SCSS
$custom: #382896;
$custom-light: #7b64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#382896",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 248.727,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37442,
    "c": 0.16947,
    "h": 281
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#382896
secondary
#AEBB5F
accent
#E147CB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0511
muted
#7C7A80

Preview Lab

Preview with #382896

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

Preview Lab → · Contrast checker → · Palette generator →

#382896 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva