#382CB3#382CB3

#382CB3 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.201 H 276.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#382CB3
RGBrgb(56, 44, 179)
HSLhsl(245, 61%, 44%)
HSVhsv(245, 75%, 70%)
CMYKcmyk(68.7%, 75.4%, 0%, 29.8%)
CIE-LABlab(29.15, 46.56, -69.14)
CIE-LCHlch(29.15, 83.36, 303.96°)
OKLaboklab(40.94% 0.0235 -0.1998)
OKLCHoklch(40.94% 0.201 276.7)
XYZxyz(10.6656, 5.8958, 43.2150)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB3 #A7B32C
analogous
#2C63B3 #382CB3 #7B2CB3
triadic
#382CB3 #B3382C #2CB338
tetradic
#382CB3 #B32C63 #A7B32C #2CB37B
square
#382CB3 #B32C63 #A7B32C #2CB37B
split-complementary
#382CB3 #B37B2C #63B32C
monochromatic
#191451 #292082 #382CB3 #564AD2 #847BDF

Accessibility & contrast

On white

9.64
#382CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#382CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CB3
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB3#FFFFFF#000000##FFFFFF
##382CB31.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382cb3;
/* rgb */ color: rgb(56, 44, 179);
/* oklch */ color: oklch(40.9% 0.201 276.7);
Tailwind
colors: {
  custom: {
    50: '#8068cb',
    500: '#382cb3',
    950: '#000000',
  },
}
SCSS
$custom: #382cb3;
$custom-light: #8068cb;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb3",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 245.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40944,
    "c": 0.20118,
    "h": 276.7
  },
  "luminance": 0.05897
}

Semantic roles & 50–950 ramp

primary
#382CB3
secondary
#BFC774
accent
#E444D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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