#382889#382889

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

Color values

HEX#382889
RGBrgb(56, 40, 137)
HSLhsl(250, 55%, 35%)
HSVhsv(250, 71%, 54%)
CMYKcmyk(59.1%, 70.8%, 0%, 46.3%)
CIE-LABlab(24.21, 35.31, -51.66)
CIE-LCHlch(24.21, 62.58, 304.35°)
OKLaboklab(36.18% 0.0349 -0.1487)
OKLCHoklch(36.18% 0.153 283.2)
XYZxyz(6.9036, 4.1640, 24.1020)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382889 #798928
analogous
#284989 #382889 #692889
triadic
#382889 #893828 #288938
tetradic
#382889 #892849 #798928 #288969
square
#382889 #892849 #798928 #288969
split-complementary
#382889 #896928 #498928
monochromatic
#110C2A #251A5A #382889 #4B36B8 #6F5CCF

Accessibility & contrast

On white

11.46
#382889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382889
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382889#FFFFFF#000000##FFFFFF
##3828891.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#0B4155
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382889;
/* rgb */ color: rgb(56, 40, 137);
/* oklch */ color: oklch(36.2% 0.153 283.2);
Tailwind
colors: {
  custom: {
    50: '#7863ac',
    500: '#382889',
    950: '#000000',
  },
}
SCSS
$custom: #382889;
$custom-light: #7863ac;
$custom-dark: #000000;
JSON
{
  "hex": "#382889",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 249.897,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36183,
    "c": 0.15275,
    "h": 283.2
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#382889
secondary
#A5B558
accent
#DE4AC6
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #382889

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

Preview Lab → · Contrast checker → · Palette generator →

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