#382EB9#382EB9

#382EB9 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.8% C 0.206 H 275.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#382EB9
RGBrgb(56, 46, 185)
HSLhsl(244, 60%, 45%)
HSVhsv(244, 75%, 73%)
CMYKcmyk(69.7%, 75.1%, 0%, 27.5%)
CIE-LABlab(30.15, 47.39, -71.05)
CIE-LCHlch(30.15, 85.41, 303.70°)
OKLaboklab(41.83% 0.0211 -0.2054)
OKLCHoklch(41.83% 0.206 275.9)
XYZxyz(11.3620, 6.2965, 46.5061)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EB9 #AFB92E
analogous
#2E69B9 #382EB9 #7E2EB9
triadic
#382EB9 #B9382E #2EB938
tetradic
#382EB9 #B92E69 #AFB92E #2EB97E
square
#382EB9 #B92E69 #AFB92E #2EB97E
split-complementary
#382EB9 #B97E2E #69B92E
monochromatic
#1A1657 #292288 #382EB9 #5A51D4 #8882E0

Accessibility & contrast

On white

9.29
#382EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#382EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EB9
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EB9#FFFFFF#000000##FFFFFF
##382EB91.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #382eb9;
/* rgb */ color: rgb(56, 46, 185);
/* oklch */ color: oklch(41.8% 0.206 275.9);
Tailwind
colors: {
  custom: {
    50: '#8169cf',
    500: '#382eb9',
    950: '#000000',
  },
}
SCSS
$custom: #382eb9;
$custom-light: #8169cf;
$custom-dark: #000000;
JSON
{
  "hex": "#382eb9",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 244.317,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41834,
    "c": 0.20647,
    "h": 275.9
  },
  "luminance": 0.06298
}

Semantic roles & 50–950 ramp

primary
#382EB9
secondary
#C3C97A
accent
#E344D8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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