#382AB3#382AB3

#382AB3 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.203 H 276.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#382AB3
RGBrgb(56, 42, 179)
HSLhsl(246, 62%, 43%)
HSVhsv(246, 77%, 70%)
CMYKcmyk(68.7%, 76.5%, 0%, 29.8%)
CIE-LABlab(28.77, 47.63, -69.76)
CIE-LCHlch(28.77, 84.46, 304.32°)
OKLaboklab(40.68% 0.0246 -0.2016)
OKLCHoklch(40.68% 0.203 276.9)
XYZxyz(10.5929, 5.7504, 43.1908)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382AB3 #A5B32A
analogous
#2A61B3 #382AB3 #7C2AB3
triadic
#382AB3 #B3382A #2AB338
tetradic
#382AB3 #B32A61 #A5B32A #2AB37C
square
#382AB3 #B32A61 #A5B32A #2AB37C
split-complementary
#382AB3 #B37C2A #61B32A
monochromatic
#191350 #281E81 #382AB3 #5546D4 #8378DF

Accessibility & contrast

On white

9.77
#382AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#382AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382AB3
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382AB3#FFFFFF#000000##FFFFFF
##382AB31.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382ab3;
/* rgb */ color: rgb(56, 42, 179);
/* oklch */ color: oklch(40.7% 0.203 276.9);
Tailwind
colors: {
  custom: {
    50: '#8066cb',
    500: '#382ab3',
    950: '#000000',
  },
}
SCSS
$custom: #382ab3;
$custom-light: #8066cb;
$custom-dark: #000000;
JSON
{
  "hex": "#382ab3",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 246.131,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.20307,
    "h": 276.9
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#382AB3
secondary
#BEC772
accent
#E543D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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