#382987#382987

#382987 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.149 H 283.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#382987
RGBrgb(56, 41, 135)
HSLhsl(250, 53%, 35%)
HSVhsv(250, 70%, 53%)
CMYKcmyk(58.5%, 69.6%, 0%, 47.1%)
CIE-LABlab(24.24, 34.06, -50.35)
CIE-LCHlch(24.24, 60.79, 304.08°)
OKLaboklab(36.15% 0.0343 -0.1449)
OKLCHoklch(36.15% 0.149 283.3)
XYZxyz(6.7957, 4.1755, 23.3648)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382987 #788729
analogous
#294987 #382987 #672987
triadic
#382987 #873829 #298738
tetradic
#382987 #872949 #788729 #298767
square
#382987 #872949 #788729 #298767
split-complementary
#382987 #876729 #498729
monochromatic
#110C29 #251B58 #382987 #4B37B6 #6F5DCE

Accessibility & contrast

On white

11.44
#382987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#382987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382987
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382987#FFFFFF#000000##FFFFFF
##3829871.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#0F4154
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382987;
/* rgb */ color: rgb(56, 41, 135);
/* oklch */ color: oklch(36.2% 0.149 283.3);
Tailwind
colors: {
  custom: {
    50: '#7864ab',
    500: '#382987',
    950: '#000000',
  },
}
SCSS
$custom: #382987;
$custom-light: #7864ab;
$custom-dark: #000000;
JSON
{
  "hex": "#382987",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 249.574,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36153,
    "c": 0.14888,
    "h": 283.3
  },
  "luminance": 0.04176
}

Semantic roles & 50–950 ramp

primary
#382987
secondary
#A5B359
accent
#DD4BC6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #382987

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

Preview Lab → · Contrast checker → · Palette generator →

#382987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva