#382CA0#382CA0

#382CA0 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.178 H 278.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#382CA0
RGBrgb(56, 44, 160)
HSLhsl(246, 57%, 40%)
HSVhsv(246, 73%, 63%)
CMYKcmyk(65%, 72.5%, 0%, 37.3%)
CIE-LABlab(27.24, 40.45, -60.85)
CIE-LCHlch(27.24, 73.07, 303.62°)
OKLaboklab(39.02% 0.0275 -0.1756)
OKLCHoklch(39.02% 0.178 278.9)
XYZxyz(8.8747, 5.1795, 33.7830)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CA0 #94A02C
analogous
#2C5AA0 #382CA0 #722CA0
triadic
#382CA0 #A0382C #2CA038
tetradic
#382CA0 #A02C5A #94A02C #2CA072
square
#382CA0 #A02C5A #94A02C #2CA072
split-complementary
#382CA0 #A0722C #5AA02C
monochromatic
#161240 #271F70 #382CA0 #4D3FCA #7A6FD7

Accessibility & contrast

On white

10.31
#382CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#382CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CA0
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CA0#FFFFFF#000000##FFFFFF
##382CA01.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003C9E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #382ca0;
/* rgb */ color: rgb(56, 44, 160);
/* oklch */ color: oklch(39.0% 0.178 278.9);
Tailwind
colors: {
  custom: {
    50: '#7c67bd',
    500: '#382ca0',
    950: '#000000',
  },
}
SCSS
$custom: #382ca0;
$custom-light: #7c67bd;
$custom-dark: #000000;
JSON
{
  "hex": "#382ca0",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 246.207,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.39018,
    "c": 0.17773,
    "h": 278.9
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#382CA0
secondary
#B6BF69
accent
#E048D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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