#382986#382986

#382986 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.148 H 283.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#382986
RGBrgb(56, 41, 134)
HSLhsl(250, 53%, 34%)
HSVhsv(250, 69%, 53%)
CMYKcmyk(58.2%, 69.4%, 0%, 47.5%)
CIE-LABlab(24.15, 33.74, -49.87)
CIE-LCHlch(24.15, 60.21, 304.07°)
OKLaboklab(36.06% 0.0345 -0.1435)
OKLCHoklch(36.06% 0.148 283.5)
XYZxyz(6.7256, 4.1474, 22.9958)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382986 #778629
analogous
#294986 #382986 #672986
triadic
#382986 #863829 #298638
tetradic
#382986 #862949 #778629 #298667
square
#382986 #862949 #778629 #298667
split-complementary
#382986 #866729 #498629
monochromatic
#110C28 #241B57 #382986 #4C37B5 #6E5CCD

Accessibility & contrast

On white

11.48
#382986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#382986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382986
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382986#FFFFFF#000000##FFFFFF
##3829861.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#104154
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #382986;
/* rgb */ color: rgb(56, 41, 134);
/* oklch */ color: oklch(36.1% 0.148 283.5);
Tailwind
colors: {
  custom: {
    50: '#7764aa',
    500: '#382986',
    950: '#000000',
  },
}
SCSS
$custom: #382986;
$custom-light: #7764aa;
$custom-dark: #000000;
JSON
{
  "hex": "#382986",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 249.677,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3606,
    "c": 0.14754,
    "h": 283.5
  },
  "luminance": 0.04148
}

Semantic roles & 50–950 ramp

primary
#382986
secondary
#A4B358
accent
#DD4BC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #382986

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

Preview Lab → · Contrast checker → · Palette generator →

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