#382FB8#382FB8

#382FB8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.204 H 275.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#382FB8
RGBrgb(56, 47, 184)
HSLhsl(244, 59%, 45%)
HSVhsv(244, 74%, 72%)
CMYKcmyk(69.6%, 74.5%, 0%, 27.8%)
CIE-LABlab(30.24, 46.53, -70.31)
CIE-LCHlch(30.24, 84.31, 303.49°)
OKLaboklab(41.87% 0.0208 -0.2032)
OKLCHoklch(41.87% 0.204 275.8)
XYZxyz(11.2963, 6.3334, 45.9653)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382FB8 #AFB82F
analogous
#2F6AB8 #382FB8 #7D2FB8
triadic
#382FB8 #B8382F #2FB838
tetradic
#382FB8 #B82F6A #AFB82F #2FB87D
square
#382FB8 #B82F6A #AFB82F #2FB87D
split-complementary
#382FB8 #B87D2F #6AB82F
monochromatic
#1A1657 #292387 #382FB8 #5A52D3 #8882DF

Accessibility & contrast

On white

9.26
#382FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#382FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382FB8
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382FB8#FFFFFF#000000##FFFFFF
##382FB81.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#0041B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382fb8;
/* rgb */ color: rgb(56, 47, 184);
/* oklch */ color: oklch(41.9% 0.204 275.8);
Tailwind
colors: {
  custom: {
    50: '#816acf',
    500: '#382fb8',
    950: '#000000',
  },
}
SCSS
$custom: #382fb8;
$custom-light: #816acf;
$custom-dark: #000000;
JSON
{
  "hex": "#382fb8",
  "rgb": {
    "r": 56,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 243.942,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41868,
    "c": 0.2043,
    "h": 275.8
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#382FB8
secondary
#C3C87B
accent
#E245D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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