#382FA5#382FA5

#382FA5 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.181 H 277.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#382FA5
RGBrgb(56, 47, 165)
HSLhsl(245, 56%, 42%)
HSVhsv(245, 72%, 65%)
CMYKcmyk(66.1%, 71.5%, 0%, 35.3%)
CIE-LABlab(28.35, 40.35, -62.05)
CIE-LCHlch(28.35, 74.01, 303.04°)
OKLaboklab(39.96% 0.0244 -0.1791)
OKLCHoklch(39.96% 0.181 277.8)
XYZxyz(9.4367, 5.5896, 36.1716)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FA5 #9CA52F
analogous
#2F61A5 #382FA5 #732FA5
triadic
#382FA5 #A5382F #2FA538
tetradic
#382FA5 #A52F61 #9CA52F #2FA573
square
#382FA5 #A52F61 #9CA52F #2FA573
split-complementary
#382FA5 #A5732F #61A52F
monochromatic
#181446 #282175 #382FA5 #5147CB #7E76D8

Accessibility & contrast

On white

9.92
#382FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382FA5
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FA5#FFFFFF#000000##FFFFFF
##382FA51.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#003EA3
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #382fa5;
/* rgb */ color: rgb(56, 47, 165);
/* oklch */ color: oklch(40.0% 0.181 277.8);
Tailwind
colors: {
  custom: {
    50: '#7d69c1',
    500: '#382fa5',
    950: '#000000',
  },
}
SCSS
$custom: #382fa5;
$custom-light: #7d69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#382fa5",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 244.576,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39958,
    "c": 0.18078,
    "h": 277.8
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#382FA5
secondary
#BAC070
accent
#DF49D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #382FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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