#382ABF#382ABF

#382ABF is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.217 H 275.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#382ABF
RGBrgb(56, 42, 191)
HSLhsl(246, 64%, 46%)
HSVhsv(246, 78%, 75%)
CMYKcmyk(70.7%, 78%, 0%, 25.1%)
CIE-LABlab(30.05, 51.35, -74.76)
CIE-LCHlch(30.05, 90.70, 304.48°)
OKLaboklab(41.95% 0.0217 -0.2161)
OKLCHoklch(41.95% 0.217 275.7)
XYZxyz(11.8597, 6.2571, 49.8629)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382ABF #B1BF2A
analogous
#2A66BF #382ABF #832ABF
triadic
#382ABF #BF382A #2ABF38
tetradic
#382ABF #BF2A66 #B1BF2A #2ABF83
square
#382ABF #BF2A66 #B1BF2A #2ABF83
split-complementary
#382ABF #BF832A #66BF2A
monochromatic
#1B145B #291F8D #382ABF #5B4ED8 #8A80E3

Accessibility & contrast

On white

9.33
#382ABF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382ABF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382ABF#FFFFFF#000000##FFFFFF
##382ABF1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC3
Deuteranopia (green-blind)
#0040BC
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382abf;
/* rgb */ color: rgb(56, 42, 191);
/* oklch */ color: oklch(42.0% 0.217 275.7);
Tailwind
colors: {
  custom: {
    50: '#8367d4',
    500: '#382abf',
    950: '#000000',
  },
}
SCSS
$custom: #382abf;
$custom-light: #8367d4;
$custom-dark: #000000;
JSON
{
  "hex": "#382abf",
  "rgb": {
    "r": 56,
    "g": 42,
    "b": 191
  },
  "hsl": {
    "h": 245.638,
    "s": 63.948,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41954,
    "c": 0.21723,
    "h": 275.7
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #382ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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