#382DAE#382DAE

#382DAE is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.6% C 0.194 H 277.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#382DAE
RGBrgb(56, 45, 174)
HSLhsl(245, 59%, 43%)
HSVhsv(245, 74%, 68%)
CMYKcmyk(67.8%, 74.1%, 0%, 31.8%)
CIE-LABlab(28.83, 44.42, -66.67)
CIE-LCHlch(28.83, 80.11, 303.67°)
OKLaboklab(40.57% 0.024 -0.1926)
OKLCHoklch(40.57% 0.194 277.1)
XYZxyz(10.2068, 5.7726, 40.6125)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DAE #A3AE2D
analogous
#2D63AE #382DAE #782DAE
triadic
#382DAE #AE382D #2DAE38
tetradic
#382DAE #AE2D63 #A3AE2D #2DAE78
square
#382DAE #AE2D63 #A3AE2D #2DAE78
split-complementary
#382DAE #AE782D #63AE2D
monochromatic
#19144D #28207D #382DAE #5448D0 #8279DC

Accessibility & contrast

On white

9.75
#382DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382DAE
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DAE#FFFFFF#000000##FFFFFF
##382DAE1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382dae;
/* rgb */ color: rgb(56, 45, 174);
/* oklch */ color: oklch(40.6% 0.194 277.1);
Tailwind
colors: {
  custom: {
    50: '#7f68c7',
    500: '#382dae',
    950: '#000000',
  },
}
SCSS
$custom: #382dae;
$custom-light: #7f68c7;
$custom-dark: #000000;
JSON
{
  "hex": "#382dae",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 245.116,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40567,
    "c": 0.19411,
    "h": 277.1
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#382DAE
secondary
#BDC472
accent
#E246D5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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