#382DB2#382DB2

#382DB2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 41.0% C 0.199 H 276.7°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#382DB2
RGBrgb(56, 45, 178)
HSLhsl(245, 60%, 44%)
HSVhsv(245, 75%, 70%)
CMYKcmyk(68.5%, 74.7%, 0%, 30.2%)
CIE-LABlab(29.24, 45.70, -68.39)
CIE-LCHlch(29.24, 82.26, 303.75°)
OKLaboklab(40.98% 0.0232 -0.1976)
OKLCHoklch(40.98% 0.199 276.7)
XYZxyz(10.6025, 5.9309, 42.6969)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382DB2 #A7B22D
analogous
#2D64B2 #382DB2 #7A2DB2
triadic
#382DB2 #B2382D #2DB238
tetradic
#382DB2 #B22D64 #A7B22D #2DB27A
square
#382DB2 #B22D64 #A7B22D #2DB27A
split-complementary
#382DB2 #B27A2D #64B22D
monochromatic
#191450 #292181 #382DB2 #564BD1 #847CDE

Accessibility & contrast

On white

9.60
#382DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#382DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382DB2
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382DB2#FFFFFF#000000##FFFFFF
##382DB21.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003FB0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382db2;
/* rgb */ color: rgb(56, 45, 178);
/* oklch */ color: oklch(41.0% 0.199 276.7);
Tailwind
colors: {
  custom: {
    50: '#8068ca',
    500: '#382db2',
    950: '#000000',
  },
}
SCSS
$custom: #382db2;
$custom-light: #8068ca;
$custom-dark: #000000;
JSON
{
  "hex": "#382db2",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 244.962,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40976,
    "c": 0.19899,
    "h": 276.7
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#382DB2
secondary
#BFC675
accent
#E345D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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