#382BB6#382BB6

#382BB6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.206 H 276.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#382BB6
RGBrgb(56, 43, 182)
HSLhsl(246, 62%, 44%)
HSVhsv(246, 76%, 71%)
CMYKcmyk(69.2%, 76.4%, 0%, 28.6%)
CIE-LABlab(29.27, 48.04, -70.72)
CIE-LCHlch(29.27, 85.49, 304.19°)
OKLaboklab(41.13% 0.0234 -0.2044)
OKLCHoklch(41.13% 0.206 276.5)
XYZxyz(10.9355, 5.9449, 44.8181)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BB6 #A9B62B
analogous
#2B63B6 #382BB6 #7E2BB6
triadic
#382BB6 #B6382B #2BB638
tetradic
#382BB6 #B62B63 #A9B62B #2BB67E
square
#382BB6 #B62B63 #A9B62B #2BB67E
split-complementary
#382BB6 #B67E2B #63B62B
monochromatic
#1A1453 #291F84 #382BB6 #574AD4 #857BE0

Accessibility & contrast

On white

9.59
#382BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382BB6
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BB6#FFFFFF#000000##FFFFFF
##382BB61.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #382bb6;
/* rgb */ color: rgb(56, 43, 182);
/* oklch */ color: oklch(41.1% 0.206 276.5);
Tailwind
colors: {
  custom: {
    50: '#8167cd',
    500: '#382bb6',
    950: '#000000',
  },
}
SCSS
$custom: #382bb6;
$custom-light: #8167cd;
$custom-dark: #000000;
JSON
{
  "hex": "#382bb6",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 245.612,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.20572,
    "h": 276.5
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#382BB6
secondary
#C0C875
accent
#E543D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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