#382EAA#382EAA

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

Color values

HEX#382EAA
RGBrgb(56, 46, 170)
HSLhsl(245, 57%, 42%)
HSVhsv(245, 73%, 67%)
CMYKcmyk(67.1%, 72.9%, 0%, 33.3%)
CIE-LABlab(28.63, 42.56, -64.60)
CIE-LCHlch(28.63, 77.36, 303.38°)
OKLaboklab(40.31% 0.0242 -0.1866)
OKLCHoklch(40.31% 0.188 277.4)
XYZxyz(9.8612, 5.6962, 38.6022)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EAA #A0AA2E
analogous
#2E62AA #382EAA #762EAA
triadic
#382EAA #AA382E #2EAA38
tetradic
#382EAA #AA2E62 #A0AA2E #2EAA76
square
#382EAA #AA2E62 #A0AA2E #2EAA76
split-complementary
#382EAA #AA762E #62AA2E
monochromatic
#18144A #28217A #382EAA #5348CD #8078DA

Accessibility & contrast

On white

9.82
#382EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#382EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EAA
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EAA#FFFFFF#000000##FFFFFF
##382EAA1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382eaa;
/* rgb */ color: rgb(56, 46, 170);
/* oklch */ color: oklch(40.3% 0.188 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e68c4',
    500: '#382eaa',
    950: '#000000',
  },
}
SCSS
$custom: #382eaa;
$custom-light: #7e68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382eaa",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 244.839,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40306,
    "c": 0.18813,
    "h": 277.4
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#382EAA
secondary
#BCC371
accent
#E147D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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