#382D89#382D89

#382D89 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.146 H 281.9°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#382D89
RGBrgb(56, 45, 137)
HSLhsl(247, 51%, 36%)
HSVhsv(247, 67%, 54%)
CMYKcmyk(59.1%, 67.2%, 0%, 46.3%)
CIE-LABlab(25.33, 32.26, -49.82)
CIE-LCHlch(25.33, 59.36, 302.92°)
OKLaboklab(36.99% 0.0303 -0.1433)
OKLCHoklch(36.99% 0.146 281.9)
XYZxyz(7.0832, 4.5232, 24.1619)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382D89 #7E892D
analogous
#2D5089 #382D89 #662D89
triadic
#382D89 #89382D #2D8938
tetradic
#382D89 #892D50 #7E892D #2D8966
square
#382D89 #892D50 #7E892D #2D8966
split-complementary
#382D89 #89662D #50892D
monochromatic
#120F2D #251E5B #382D89 #4B3CB7 #7164CC

Accessibility & contrast

On white

11.02
#382D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#382D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382D89
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382D89#FFFFFF#000000##FFFFFF
##382D891.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#0A4457
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382d89;
/* rgb */ color: rgb(56, 45, 137);
/* oklch */ color: oklch(37.0% 0.146 281.9);
Tailwind
colors: {
  custom: {
    50: '#7867ac',
    500: '#382d89',
    950: '#000000',
  },
}
SCSS
$custom: #382d89;
$custom-light: #7867ac;
$custom-dark: #000000;
JSON
{
  "hex": "#382d89",
  "rgb": {
    "r": 56,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 247.174,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36993,
    "c": 0.14647,
    "h": 281.9
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#382D89
secondary
#A9B35F
accent
#DA4EC9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382D89

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

Preview Lab → · Contrast checker → · Palette generator →

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