#382BBD#382BBD

#382BBD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.214 H 275.8°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#382BBD
RGBrgb(56, 43, 189)
HSLhsl(245, 63%, 45%)
HSVhsv(245, 77%, 74%)
CMYKcmyk(70.4%, 77.2%, 0%, 25.9%)
CIE-LABlab(30.01, 50.23, -73.64)
CIE-LCHlch(30.01, 89.14, 304.30°)
OKLaboklab(41.86% 0.0217 -0.2129)
OKLCHoklch(41.86% 0.214 275.8)
XYZxyz(11.6771, 6.2415, 48.7236)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BBD #B0BD2B
analogous
#2B67BD #382BBD #812BBD
triadic
#382BBD #BD382B #2BBD38
tetradic
#382BBD #BD2B67 #B0BD2B #2BBD81
square
#382BBD #BD2B67 #B0BD2B #2BBD81
split-complementary
#382BBD #BD812B #67BD2B
monochromatic
#1A1459 #29208B #382BBD #5B4ED7 #8980E2

Accessibility & contrast

On white

9.34
#382BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#382BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BBD
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BBD#FFFFFF#000000##FFFFFF
##382BBD1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0040BA
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382bbd;
/* rgb */ color: rgb(56, 43, 189);
/* oklch */ color: oklch(41.9% 0.214 275.8);
Tailwind
colors: {
  custom: {
    50: '#8368d2',
    500: '#382bbd',
    950: '#000000',
  },
}
SCSS
$custom: #382bbd;
$custom-light: #8368d2;
$custom-dark: #000000;
JSON
{
  "hex": "#382bbd",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 189
  },
  "hsl": {
    "h": 245.342,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.41864,
    "c": 0.214,
    "h": 275.8
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#382BBD
secondary
#C4CB79
accent
#E642D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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