#382EB7#382EB7

#382EB7 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.6% C 0.204 H 276.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#382EB7
RGBrgb(56, 46, 183)
HSLhsl(244, 60%, 45%)
HSVhsv(244, 75%, 72%)
CMYKcmyk(69.4%, 74.9%, 0%, 28.2%)
CIE-LABlab(29.94, 46.75, -70.21)
CIE-LCHlch(29.94, 84.35, 303.66°)
OKLaboklab(41.63% 0.0215 -0.2029)
OKLCHoklch(41.63% 0.204 276.1)
XYZxyz(11.1523, 6.2126, 45.4020)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EB7 #ADB72E
analogous
#2E68B7 #382EB7 #7D2EB7
triadic
#382EB7 #B7382E #2EB738
tetradic
#382EB7 #B72E68 #ADB72E #2EB77D
square
#382EB7 #B72E68 #ADB72E #2EB77D
split-complementary
#382EB7 #B77D2E #68B72E
monochromatic
#1A1555 #292286 #382EB7 #594FD3 #8780DF

Accessibility & contrast

On white

9.36
#382EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#382EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EB7
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EB7#FFFFFF#000000##FFFFFF
##382EB71.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005670
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382eb7;
/* rgb */ color: rgb(56, 46, 183);
/* oklch */ color: oklch(41.6% 0.204 276.1);
Tailwind
colors: {
  custom: {
    50: '#8169ce',
    500: '#382eb7',
    950: '#000000',
  },
}
SCSS
$custom: #382eb7;
$custom-light: #8169ce;
$custom-dark: #000000;
JSON
{
  "hex": "#382eb7",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 244.38,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41628,
    "c": 0.20407,
    "h": 276.1
  },
  "luminance": 0.06214
}

Semantic roles & 50–950 ramp

primary
#382EB7
secondary
#C2C879
accent
#E345D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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