#382BAE#382BAE

#382BAE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.196 H 277.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#382BAE
RGBrgb(56, 43, 174)
HSLhsl(246, 60%, 43%)
HSVhsv(246, 75%, 68%)
CMYKcmyk(67.8%, 75.3%, 0%, 31.8%)
CIE-LABlab(28.44, 45.52, -67.31)
CIE-LCHlch(28.44, 81.26, 304.07°)
OKLaboklab(40.29% 0.0252 -0.1945)
OKLCHoklch(40.29% 0.196 277.4)
XYZxyz(10.1323, 5.6236, 40.5877)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BAE #A1AE2B
analogous
#2B60AE #382BAE #792BAE
triadic
#382BAE #AE382B #2BAE38
tetradic
#382BAE #AE2B60 #A1AE2B #2BAE79
square
#382BAE #AE2B60 #A1AE2B #2BAE79
split-complementary
#382BAE #AE792B #60AE2B
monochromatic
#18134C #281F7D #382BAE #5345D1 #8076DD

Accessibility & contrast

On white

9.88
#382BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#382BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BAE
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BAE#FFFFFF#000000##FFFFFF
##382BAE1.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382bae;
/* rgb */ color: rgb(56, 43, 174);
/* oklch */ color: oklch(40.3% 0.196 277.4);
Tailwind
colors: {
  custom: {
    50: '#7f67c7',
    500: '#382bae',
    950: '#000000',
  },
}
SCSS
$custom: #382bae;
$custom-light: #7f67c7;
$custom-dark: #000000;
JSON
{
  "hex": "#382bae",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 245.954,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40292,
    "c": 0.19609,
    "h": 277.4
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#382BAE
secondary
#BCC570
accent
#E444D4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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