#382CB2#382CB2

#382CB2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.8% C 0.200 H 276.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#382CB2
RGBrgb(56, 44, 178)
HSLhsl(245, 60%, 44%)
HSVhsv(245, 75%, 70%)
CMYKcmyk(68.5%, 75.3%, 0%, 30.2%)
CIE-LABlab(29.04, 46.25, -68.71)
CIE-LCHlch(29.04, 82.82, 303.94°)
OKLaboklab(40.84% 0.0237 -0.1986)
OKLCHoklch(40.84% 0.2 276.8)
XYZxyz(10.5648, 5.8555, 42.6843)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CB2 #A6B22C
analogous
#2C63B2 #382CB2 #7B2CB2
triadic
#382CB2 #B2382C #2CB238
tetradic
#382CB2 #B22C63 #A6B22C #2CB27B
square
#382CB2 #B22C63 #A6B22C #2CB27B
split-complementary
#382CB2 #B27B2C #63B22C
monochromatic
#191450 #292081 #382CB2 #5549D2 #837ADE

Accessibility & contrast

On white

9.67
#382CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#382CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CB2
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CB2#FFFFFF#000000##FFFFFF
##382CB21.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382cb2;
/* rgb */ color: rgb(56, 44, 178);
/* oklch */ color: oklch(40.8% 0.200 276.8);
Tailwind
colors: {
  custom: {
    50: '#8068ca',
    500: '#382cb2',
    950: '#000000',
  },
}
SCSS
$custom: #382cb2;
$custom-light: #8068ca;
$custom-dark: #000000;
JSON
{
  "hex": "#382cb2",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 178
  },
  "hsl": {
    "h": 245.373,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4084,
    "c": 0.19997,
    "h": 276.8
  },
  "luminance": 0.05856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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