#382ACD#382ACD

#382ACD is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.5% C 0.233 H 274.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#382ACD
RGBrgb(56, 42, 205)
HSLhsl(245, 66%, 48%)
HSVhsv(245, 80%, 80%)
CMYKcmyk(72.7%, 79.5%, 0%, 19.6%)
CIE-LABlab(31.59, 55.60, -80.42)
CIE-LCHlch(31.59, 97.77, 304.66°)
OKLaboklab(43.47% 0.0183 -0.2326)
OKLCHoklch(43.47% 0.233 274.5)
XYZxyz(13.4746, 6.9031, 58.3681)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382ACD #BFCD2A
analogous
#2A6ECD #382ACD #892ACD
triadic
#382ACD #CD382A #2ACD38
tetradic
#382ACD #CD2A6E #BFCD2A #2ACD89
square
#382ACD #CD2A6E #BFCD2A #2ACD89
split-complementary
#382ACD #CD892A #6ECD2A
monochromatic
#1C1567 #2A209A #382ACD #6358DD #928AE7

Accessibility & contrast

On white

8.82
#382ACD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#382ACD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382ACD
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382ACD#FFFFFF#000000##FFFFFF
##382ACD1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051D1
Deuteranopia (green-blind)
#0043CA
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #382acd;
/* rgb */ color: rgb(56, 42, 205);
/* oklch */ color: oklch(43.5% 0.233 274.5);
Tailwind
colors: {
  custom: {
    50: '#8668de',
    500: '#382acd',
    950: '#000000',
  },
}
SCSS
$custom: #382acd;
$custom-light: #8668de;
$custom-dark: #000000;
JSON
{
  "hex": "#382acd",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 205
  },
  "hsl": {
    "h": 245.153,
    "s": 65.992,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43473,
    "c": 0.2333,
    "h": 274.5
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#382ACD
secondary
#CAD182
accent
#E93FDA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #382ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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