#382DB5#382DB5

#382DB5 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.203 H 276.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#382DB5
RGBrgb(56, 45, 181)
HSLhsl(245, 60%, 44%)
HSVhsv(245, 75%, 71%)
CMYKcmyk(69.1%, 75.1%, 0%, 29%)
CIE-LABlab(29.55, 46.66, -69.67)
CIE-LCHlch(29.55, 83.85, 303.81°)
OKLaboklab(41.29% 0.0225 -0.2014)
OKLCHoklch(41.29% 0.203 276.4)
XYZxyz(10.9070, 6.0527, 44.3006)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DB5 #AAB52D
analogous
#2D66B5 #382DB5 #7C2DB5
triadic
#382DB5 #B5382D #2DB538
tetradic
#382DB5 #B52D66 #AAB52D #2DB57C
square
#382DB5 #B52D66 #AAB52D #2DB57C
split-complementary
#382DB5 #B57C2D #66B52D
monochromatic
#1A1553 #292184 #382DB5 #574DD3 #857EDF

Accessibility & contrast

On white

9.50
#382DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#382DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DB5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DB5#FFFFFF#000000##FFFFFF
##382DB51.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB9
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382db5;
/* rgb */ color: rgb(56, 45, 181);
/* oklch */ color: oklch(41.3% 0.203 276.4);
Tailwind
colors: {
  custom: {
    50: '#8168cc',
    500: '#382db5',
    950: '#000000',
  },
}
SCSS
$custom: #382db5;
$custom-light: #8168cc;
$custom-dark: #000000;
JSON
{
  "hex": "#382db5",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 244.853,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41286,
    "c": 0.20262,
    "h": 276.4
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#382DB5
secondary
#C1C776
accent
#E344D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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