#382F89#382F89

#382F89 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.144 H 281.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#382F89
RGBrgb(56, 47, 137)
HSLhsl(246, 49%, 36%)
HSVhsv(246, 66%, 54%)
CMYKcmyk(59.1%, 65.7%, 0%, 46.3%)
CIE-LABlab(25.80, 31.00, -49.06)
CIE-LCHlch(25.80, 58.03, 302.29°)
OKLaboklab(37.34% 0.0284 -0.141)
OKLCHoklch(37.34% 0.144 281.4)
XYZxyz(7.1614, 4.6795, 24.1879)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382F89 #80892F
analogous
#2F5389 #382F89 #652F89
triadic
#382F89 #89382F #2F8938
tetradic
#382F89 #892F53 #80892F #2F8965
square
#382F89 #892F53 #80892F #2F8965
split-complementary
#382F89 #89652F #53892F
monochromatic
#13102E #251F5B #382F89 #4B3FB7 #7167CB

Accessibility & contrast

On white

10.85
#382F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#382F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382F89
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382F89#FFFFFF#000000##FFFFFF
##382F891.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#094557
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #382f89;
/* rgb */ color: rgb(56, 47, 137);
/* oklch */ color: oklch(37.3% 0.144 281.4);
Tailwind
colors: {
  custom: {
    50: '#7768ac',
    500: '#382f89',
    950: '#000000',
  },
}
SCSS
$custom: #382f89;
$custom-light: #7768ac;
$custom-dark: #000000;
JSON
{
  "hex": "#382f89",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 246,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37335,
    "c": 0.14387,
    "h": 281.4
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#382F89
secondary
#AAB262
accent
#D84FCB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #382F89

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

Preview Lab → · Contrast checker → · Palette generator →

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