#382DB4#382DB4

#382DB4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.201 H 276.5°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#382DB4
RGBrgb(56, 45, 180)
HSLhsl(245, 60%, 44%)
HSVhsv(245, 75%, 71%)
CMYKcmyk(68.9%, 75%, 0%, 29.4%)
CIE-LABlab(29.44, 46.34, -69.25)
CIE-LCHlch(29.44, 83.32, 303.79°)
OKLaboklab(41.18% 0.0227 -0.2001)
OKLCHoklch(41.18% 0.201 276.5)
XYZxyz(10.8048, 6.0118, 43.7622)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DB4 #A9B42D
analogous
#2D66B4 #382DB4 #7C2DB4
triadic
#382DB4 #B4382D #2DB438
tetradic
#382DB4 #B42D66 #A9B42D #2DB47C
square
#382DB4 #B42D66 #A9B42D #2DB47C
split-complementary
#382DB4 #B47C2D #66B42D
monochromatic
#1A1552 #292183 #382DB4 #574CD2 #857DDE

Accessibility & contrast

On white

9.53
#382DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#382DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DB4
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DB4#FFFFFF#000000##FFFFFF
##382DB41.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382db4;
/* rgb */ color: rgb(56, 45, 180);
/* oklch */ color: oklch(41.2% 0.201 276.5);
Tailwind
colors: {
  custom: {
    50: '#8068cc',
    500: '#382db4',
    950: '#000000',
  },
}
SCSS
$custom: #382db4;
$custom-light: #8068cc;
$custom-dark: #000000;
JSON
{
  "hex": "#382db4",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 244.889,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41182,
    "c": 0.20142,
    "h": 276.5
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#382DB4
secondary
#C0C776
accent
#E345D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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