#382DBA#382DBA

#382DBA is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.209 H 275.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#382DBA
RGBrgb(56, 45, 186)
HSLhsl(245, 61%, 45%)
HSVhsv(245, 76%, 73%)
CMYKcmyk(69.9%, 75.8%, 0%, 27.1%)
CIE-LABlab(30.06, 48.24, -71.79)
CIE-LCHlch(30.06, 86.49, 303.90°)
OKLaboklab(41.81% 0.0214 -0.2075)
OKLCHoklch(41.81% 0.209 275.9)
XYZxyz(11.4293, 6.2616, 47.0511)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DBA #AFBA2D
analogous
#2D68BA #382DBA #7F2DBA
triadic
#382DBA #BA382D #2DBA38
tetradic
#382DBA #BA2D68 #AFBA2D #2DBA7F
square
#382DBA #BA2D68 #AFBA2D #2DBA7F
split-complementary
#382DBA #BA7F2D #68BA2D
monochromatic
#1A1557 #292189 #382DBA #5A50D5 #8881E0

Accessibility & contrast

On white

9.32
#382DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382DBA
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DBA#FFFFFF#000000##FFFFFF
##382DBA1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382dba;
/* rgb */ color: rgb(56, 45, 186);
/* oklch */ color: oklch(41.8% 0.209 275.9);
Tailwind
colors: {
  custom: {
    50: '#8269d0',
    500: '#382dba',
    950: '#000000',
  },
}
SCSS
$custom: #382dba;
$custom-light: #8269d0;
$custom-dark: #000000;
JSON
{
  "hex": "#382dba",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 244.681,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.20862,
    "h": 275.9
  },
  "luminance": 0.06263
}

Semantic roles & 50–950 ramp

primary
#382DBA
secondary
#C3C979
accent
#E444D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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