#382C87#382C87

#382C87 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.145 H 282.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#382C87
RGBrgb(56, 44, 135)
HSLhsl(248, 51%, 35%)
HSVhsv(248, 67%, 53%)
CMYKcmyk(58.5%, 67.4%, 0%, 47.1%)
CIE-LABlab(24.92, 32.22, -49.24)
CIE-LCHlch(24.92, 58.84, 303.20°)
OKLaboklab(36.64% 0.0315 -0.1416)
OKLCHoklch(36.64% 0.145 282.5)
XYZxyz(6.9034, 4.3909, 23.4007)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382C87 #7B872C
analogous
#2C4E87 #382C87 #652C87
triadic
#382C87 #87382C #2C8738
tetradic
#382C87 #872C4E #7B872C #2C8765
square
#382C87 #872C4E #7B872C #2C8765
split-complementary
#382C87 #87652C #4E872C
monochromatic
#120E2B #251D59 #382C87 #4B3BB5 #7062CC

Accessibility & contrast

On white

11.18
#382C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#382C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382C87
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382C87#FFFFFF#000000##FFFFFF
##382C871.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#0E4355
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #382c87;
/* rgb */ color: rgb(56, 44, 135);
/* oklch */ color: oklch(36.6% 0.145 282.5);
Tailwind
colors: {
  custom: {
    50: '#7766ab',
    500: '#382c87',
    950: '#000000',
  },
}
SCSS
$custom: #382c87;
$custom-light: #7766ab;
$custom-dark: #000000;
JSON
{
  "hex": "#382c87",
  "rgb": {
    "r": 56,
    "g": 44,
    "b": 135
  },
  "hsl": {
    "h": 247.912,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.14506,
    "h": 282.5
  },
  "luminance": 0.04391
}

Semantic roles & 50–950 ramp

primary
#382C87
secondary
#A7B25D
accent
#DA4DC8
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #382C87

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

Preview Lab → · Contrast checker → · Palette generator →

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