#382FB1#382FB1

#382FB1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.2% C 0.196 H 276.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#382FB1
RGBrgb(56, 47, 177)
HSLhsl(244, 58%, 44%)
HSVhsv(244, 73%, 69%)
CMYKcmyk(68.4%, 73.4%, 0%, 30.6%)
CIE-LABlab(29.53, 44.27, -67.31)
CIE-LCHlch(29.53, 80.57, 303.33°)
OKLaboklab(41.15% 0.0222 -0.1945)
OKLCHoklch(41.15% 0.196 276.5)
XYZxyz(10.5806, 6.0472, 42.1961)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FB1 #A8B12F
analogous
#2F67B1 #382FB1 #792FB1
triadic
#382FB1 #B1382F #2FB138
tetradic
#382FB1 #B12F67 #A8B12F #2FB179
square
#382FB1 #B12F67 #A8B12F #2FB179
split-complementary
#382FB1 #B1792F #67B12F
monochromatic
#191550 #292281 #382FB1 #564DD0 #847EDD

Accessibility & contrast

On white

9.50
#382FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#382FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FB1
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FB1#FFFFFF#000000##FFFFFF
##382FB11.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0040AF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #382fb1;
/* rgb */ color: rgb(56, 47, 177);
/* oklch */ color: oklch(41.2% 0.196 276.5);
Tailwind
colors: {
  custom: {
    50: '#8069ca',
    500: '#382fb1',
    950: '#000000',
  },
}
SCSS
$custom: #382fb1;
$custom-light: #8069ca;
$custom-dark: #000000;
JSON
{
  "hex": "#382fb1",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 244.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41154,
    "c": 0.19576,
    "h": 276.5
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#382FB1
secondary
#C0C576
accent
#E147D7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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