#382CA8#382CA8

#382CA8 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.188 H 277.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#382CA8
RGBrgb(56, 44, 168)
HSLhsl(246, 58%, 42%)
HSVhsv(246, 74%, 66%)
CMYKcmyk(66.7%, 73.8%, 0%, 34.1%)
CIE-LABlab(28.03, 43.05, -64.39)
CIE-LCHlch(28.03, 77.45, 303.76°)
OKLaboklab(39.82% 0.0259 -0.1859)
OKLCHoklch(39.82% 0.188 277.9)
XYZxyz(9.5972, 5.4685, 37.5880)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382CA8 #9CA82C
analogous
#2C5EA8 #382CA8 #762CA8
triadic
#382CA8 #A8382C #2CA838
tetradic
#382CA8 #A82C5E #9CA82C #2CA876
square
#382CA8 #A82C5E #9CA82C #2CA876
split-complementary
#382CA8 #A8762C #5EA82C
monochromatic
#181347 #281F78 #382CA8 #5143CE #7E74DB

Accessibility & contrast

On white

10.03
#382CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#382CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382CA8
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382CA8#FFFFFF#000000##FFFFFF
##382CA81.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #382ca8;
/* rgb */ color: rgb(56, 44, 168);
/* oklch */ color: oklch(39.8% 0.188 277.9);
Tailwind
colors: {
  custom: {
    50: '#7e67c3',
    500: '#382ca8',
    950: '#000000',
  },
}
SCSS
$custom: #382ca8;
$custom-light: #7e67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#382ca8",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 245.806,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39818,
    "c": 0.18774,
    "h": 277.9
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#382CA8
secondary
#BAC26E
accent
#E246D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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