#382B83#382B83

#382B83 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.141 H 283.5°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#382B83
RGBrgb(56, 43, 131)
HSLhsl(249, 51%, 34%)
HSVhsv(249, 67%, 51%)
CMYKcmyk(57.3%, 67.2%, 0%, 48.6%)
CIE-LABlab(24.34, 31.52, -47.68)
CIE-LCHlch(24.34, 57.16, 303.46°)
OKLaboklab(36.12% 0.0329 -0.137)
OKLCHoklch(36.12% 0.141 283.5)
XYZxyz(6.5902, 4.2068, 21.9331)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382B83 #76832B
analogous
#2B4A83 #382B83 #642B83
triadic
#382B83 #83382B #2B8338
tetradic
#382B83 #832B4A #76832B #2B8364
square
#382B83 #832B4A #76832B #2B8364
split-complementary
#382B83 #83642B #4A832B
monochromatic
#110D27 #241C55 #382B83 #4C3AB1 #6E5ECA

Accessibility & contrast

On white

11.40
#382B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#382B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382B83
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382B83#FFFFFF#000000##FFFFFF
##382B831.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#144153
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #382b83;
/* rgb */ color: rgb(56, 43, 131);
/* oklch */ color: oklch(36.1% 0.141 283.5);
Tailwind
colors: {
  custom: {
    50: '#7765a8',
    500: '#382b83',
    950: '#000000',
  },
}
SCSS
$custom: #382b83;
$custom-light: #7765a8;
$custom-dark: #000000;
JSON
{
  "hex": "#382b83",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 248.864,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36115,
    "c": 0.14093,
    "h": 283.5
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#382B83
secondary
#A3B05A
accent
#DA4EC5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #382B83

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

Preview Lab → · Contrast checker → · Palette generator →

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