#382DCC#382DCC

#382DCC is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.7% C 0.230 H 274.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#382DCC
RGBrgb(56, 45, 204)
HSLhsl(244, 64%, 49%)
HSVhsv(244, 78%, 80%)
CMYKcmyk(72.5%, 77.9%, 0%, 20%)
CIE-LABlab(31.98, 53.84, -79.19)
CIE-LCHlch(31.98, 95.76, 304.21°)
OKLaboklab(43.72% 0.0174 -0.229)
OKLCHoklch(43.72% 0.23 274.3)
XYZxyz(13.4647, 7.0758, 57.7712)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DCC #C1CC2D
analogous
#2D72CC #382DCC #882DCC
triadic
#382DCC #CC382D #2DCC38
tetradic
#382DCC #CC2D72 #C1CC2D #2DCC88
square
#382DCC #CC2D72 #C1CC2D #2DCC88
split-complementary
#382DCC #CC882D #72CC2D
monochromatic
#1C1768 #2A229A #382DCC #645BDB #948DE6

Accessibility & contrast

On white

8.69
#382DCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#382DCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DCC
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DCC#FFFFFF#000000##FFFFFF
##382DCC1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D0
Deuteranopia (green-blind)
#0044C9
Tritanopia (blue-blind)
#005D7C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #382dcc;
/* rgb */ color: rgb(56, 45, 204);
/* oklch */ color: oklch(43.7% 0.230 274.3);
Tailwind
colors: {
  custom: {
    50: '#866add',
    500: '#382dcc',
    950: '#000000',
  },
}
SCSS
$custom: #382dcc;
$custom-light: #866add;
$custom-dark: #000000;
JSON
{
  "hex": "#382dcc",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 244.151,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.22971,
    "h": 274.3
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#382DCC
secondary
#CBD085
accent
#E741DB
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #382DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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