#382EC9#382EC9

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

Color values

HEX#382EC9
RGBrgb(56, 46, 201)
HSLhsl(244, 63%, 48%)
HSVhsv(244, 77%, 79%)
CMYKcmyk(72.1%, 77.1%, 0%, 21.2%)
CIE-LABlab(31.83, 52.42, -77.69)
CIE-LCHlch(31.83, 93.71, 304.01°)
OKLaboklab(43.52% 0.0176 -0.2247)
OKLCHoklch(43.52% 0.225 274.5)
XYZxyz(13.1470, 7.0105, 55.9073)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EC9 #BFC92E
analogous
#2E71C9 #382EC9 #852EC9
triadic
#382EC9 #C9382E #2EC938
tetradic
#382EC9 #C92E71 #BFC92E #2EC985
square
#382EC9 #C92E71 #BFC92E #2EC985
split-complementary
#382EC9 #C9852E #71C92E
monochromatic
#1C1765 #2A2397 #382EC9 #635BD9 #928DE5

Accessibility & contrast

On white

8.74
#382EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#382EC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EC9
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EC9#FFFFFF#000000##FFFFFF
##382EC91.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CD
Deuteranopia (green-blind)
#0044C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #382ec9;
/* rgb */ color: rgb(56, 46, 201);
/* oklch */ color: oklch(43.5% 0.225 274.5);
Tailwind
colors: {
  custom: {
    50: '#856adb',
    500: '#382ec9',
    950: '#000000',
  },
}
SCSS
$custom: #382ec9;
$custom-light: #856adb;
$custom-dark: #000000;
JSON
{
  "hex": "#382ec9",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 243.871,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.43516,
    "c": 0.22538,
    "h": 274.5
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#382EC9
secondary
#CACF84
accent
#E642DB
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #382EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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