#382FAA#382FAA

#382FAA is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.187 H 277.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#382FAA
RGBrgb(56, 47, 170)
HSLhsl(244, 57%, 43%)
HSVhsv(244, 72%, 67%)
CMYKcmyk(67.1%, 72.4%, 0%, 33.3%)
CIE-LABlab(28.84, 41.99, -64.26)
CIE-LCHlch(28.84, 76.76, 303.16°)
OKLaboklab(40.45% 0.0235 -0.1856)
OKLCHoklch(40.45% 0.187 277.2)
XYZxyz(9.9007, 5.7752, 38.6154)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FAA #A1AA2F
analogous
#2F64AA #382FAA #752FAA
triadic
#382FAA #AA382F #2FAA38
tetradic
#382FAA #AA2F64 #A1AA2F #2FAA75
square
#382FAA #AA2F64 #A1AA2F #2FAA75
split-complementary
#382FAA #AA752F #64AA2F
monochromatic
#18144A #28227A #382FAA #5349CD #8079DA

Accessibility & contrast

On white

9.74
#382FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#382FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FAA
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FAA#FFFFFF#000000##FFFFFF
##382FAA1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382faa;
/* rgb */ color: rgb(56, 47, 170);
/* oklch */ color: oklch(40.5% 0.187 277.2);
Tailwind
colors: {
  custom: {
    50: '#7e69c4',
    500: '#382faa',
    950: '#000000',
  },
}
SCSS
$custom: #382faa;
$custom-light: #7e69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#382faa",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 244.39,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40452,
    "c": 0.18708,
    "h": 277.2
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#382FAA
secondary
#BCC272
accent
#E048D5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #382FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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