#382B8D#382B8D

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

Color values

HEX#382B8D
RGBrgb(56, 43, 141)
HSLhsl(248, 53%, 36%)
HSVhsv(248, 70%, 55%)
CMYKcmyk(60.3%, 69.5%, 0%, 44.7%)
CIE-LABlab(25.23, 34.82, -52.47)
CIE-LCHlch(25.23, 62.97, 303.57°)
OKLaboklab(37.03% 0.0316 -0.1511)
OKLCHoklch(37.03% 0.154 281.8)
XYZxyz(7.3010, 4.4911, 25.6763)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B8D #808D2B
analogous
#2B4F8D #382B8D #692B8D
triadic
#382B8D #8D382B #2B8D38
tetradic
#382B8D #8D2B4F #808D2B #2B8D69
square
#382B8D #8D2B4F #808D2B #2B8D69
split-complementary
#382B8D #8D692B #4F8D2B
monochromatic
#130E2F #251D5E #382B8D #4B39BC #7163CF

Accessibility & contrast

On white

11.06
#382B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #382B8D
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B8D#FFFFFF#000000##FFFFFF
##382B8D1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#014558
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #382b8d;
/* rgb */ color: rgb(56, 43, 141);
/* oklch */ color: oklch(37.0% 0.154 281.8);
Tailwind
colors: {
  custom: {
    50: '#7965af',
    500: '#382b8d',
    950: '#000000',
  },
}
SCSS
$custom: #382b8d;
$custom-light: #7965af;
$custom-dark: #000000;
JSON
{
  "hex": "#382b8d",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 247.959,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.15434,
    "h": 281.8
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

primary
#382B8D
secondary
#AAB65E
accent
#DD4BC9
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #382B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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