#382ABC#382ABC

#382ABC is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.214 H 276.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#382ABC
RGBrgb(56, 42, 188)
HSLhsl(246, 63%, 45%)
HSVhsv(246, 78%, 74%)
CMYKcmyk(70.2%, 77.7%, 0%, 26.3%)
CIE-LABlab(29.73, 50.43, -73.52)
CIE-LCHlch(29.73, 89.15, 304.45°)
OKLaboklab(41.63% 0.0224 -0.2125)
OKLCHoklch(41.63% 0.214 276)
XYZxyz(11.5330, 6.1264, 48.1419)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382ABC #AEBC2A
analogous
#2A65BC #382ABC #812ABC
triadic
#382ABC #BC382A #2ABC38
tetradic
#382ABC #BC2A65 #AEBC2A #2ABC81
square
#382ABC #BC2A65 #AEBC2A #2ABC81
split-complementary
#382ABC #BC812A #65BC2A
monochromatic
#1A1458 #291F8A #382ABC #594CD7 #887EE2

Accessibility & contrast

On white

9.44
#382ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#382ABC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382ABC
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382ABC#FFFFFF#000000##FFFFFF
##382ABC1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382abc;
/* rgb */ color: rgb(56, 42, 188);
/* oklch */ color: oklch(41.6% 0.214 276.0);
Tailwind
colors: {
  custom: {
    50: '#8267d2',
    500: '#382abc',
    950: '#000000',
  },
}
SCSS
$custom: #382abc;
$custom-light: #8267d2;
$custom-dark: #000000;
JSON
{
  "hex": "#382abc",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 188
  },
  "hsl": {
    "h": 245.753,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41633,
    "c": 0.21372,
    "h": 276
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#382ABC
secondary
#C3CB77
accent
#E741D7
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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