#382CA9#382CA9

#382CA9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.189 H 277.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#382CA9
RGBrgb(56, 44, 169)
HSLhsl(246, 59%, 42%)
HSVhsv(246, 74%, 66%)
CMYKcmyk(66.9%, 74%, 0%, 33.7%)
CIE-LABlab(28.13, 43.37, -64.82)
CIE-LCHlch(28.13, 77.99, 303.78°)
OKLaboklab(39.92% 0.0256 -0.1872)
OKLCHoklch(39.92% 0.189 277.8)
XYZxyz(9.6907, 5.5059, 38.0805)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CA9 #9DA92C
analogous
#2C5FA9 #382CA9 #772CA9
triadic
#382CA9 #A9382C #2CA938
tetradic
#382CA9 #A92C5F #9DA92C #2CA977
square
#382CA9 #A92C5F #9DA92C #2CA977
split-complementary
#382CA9 #A9772C #5FA92C
monochromatic
#181348 #281F78 #382CA9 #5144CE #7E74DB

Accessibility & contrast

On white

9.99
#382CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#382CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CA9
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CA9#FFFFFF#000000##FFFFFF
##382CA91.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382ca9;
/* rgb */ color: rgb(56, 44, 169);
/* oklch */ color: oklch(39.9% 0.189 277.8);
Tailwind
colors: {
  custom: {
    50: '#7e67c4',
    500: '#382ca9',
    950: '#000000',
  },
}
SCSS
$custom: #382ca9;
$custom-light: #7e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382ca9",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 245.76,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39919,
    "c": 0.18897,
    "h": 277.8
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#382CA9
secondary
#BAC36E
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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