#382B88#382B88

#382B88 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.148 H 282.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#382B88
RGBrgb(56, 43, 136)
HSLhsl(248, 52%, 35%)
HSVhsv(248, 68%, 53%)
CMYKcmyk(58.8%, 68.4%, 0%, 46.7%)
CIE-LABlab(24.78, 33.17, -50.10)
CIE-LCHlch(24.78, 60.08, 303.51°)
OKLaboklab(36.57% 0.0323 -0.1441)
OKLCHoklch(36.57% 0.148 282.6)
XYZxyz(6.9373, 4.3456, 23.7610)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B88 #7B882B
analogous
#2B4D88 #382B88 #662B88
triadic
#382B88 #88382B #2B8838
tetradic
#382B88 #882B4D #7B882B #2B8866
square
#382B88 #882B4D #7B882B #2B8866
split-complementary
#382B88 #88662B #4D882B
monochromatic
#120E2B #251C5A #382B88 #4B3AB6 #7061CD

Accessibility & contrast

On white

11.23
#382B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#382B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B88
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B88#FFFFFF#000000##FFFFFF
##382B881.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#0C4355
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382b88;
/* rgb */ color: rgb(56, 43, 136);
/* oklch */ color: oklch(36.6% 0.148 282.6);
Tailwind
colors: {
  custom: {
    50: '#7865ac',
    500: '#382b88',
    950: '#000000',
  },
}
SCSS
$custom: #382b88;
$custom-light: #7865ac;
$custom-dark: #000000;
JSON
{
  "hex": "#382b88",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 248.387,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36569,
    "c": 0.14769,
    "h": 282.6
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#382B88
secondary
#A7B35C
accent
#DB4CC7
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382B88

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

Preview Lab → · Contrast checker → · Palette generator →

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