#382EBB#382EBB

#382EBB is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.0% C 0.209 H 275.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#382EBB
RGBrgb(56, 46, 187)
HSLhsl(244, 61%, 46%)
HSVhsv(244, 75%, 73%)
CMYKcmyk(70.1%, 75.4%, 0%, 26.7%)
CIE-LABlab(30.36, 48.03, -71.90)
CIE-LCHlch(30.36, 86.46, 303.74°)
OKLaboklab(42.04% 0.0207 -0.2078)
OKLCHoklch(42.04% 0.209 275.7)
XYZxyz(11.5746, 6.3815, 47.6258)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382EBB #B1BB2E
analogous
#2E6BBB #382EBB #7E2EBB
triadic
#382EBB #BB382E #2EBB38
tetradic
#382EBB #BB2E6B #B1BB2E #2EBB7E
square
#382EBB #BB2E6B #B1BB2E #2EBB7E
split-complementary
#382EBB #BB7E2E #6BBB2E
monochromatic
#1B1659 #29228A #382EBB #5B52D4 #8A83E0

Accessibility & contrast

On white

9.22
#382EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#382EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382EBB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382EBB#FFFFFF#000000##FFFFFF
##382EBB1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBF
Deuteranopia (green-blind)
#0041B8
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #382ebb;
/* rgb */ color: rgb(56, 46, 187);
/* oklch */ color: oklch(42.0% 0.209 275.7);
Tailwind
colors: {
  custom: {
    50: '#8269d1',
    500: '#382ebb',
    950: '#000000',
  },
}
SCSS
$custom: #382ebb;
$custom-light: #8269d1;
$custom-dark: #000000;
JSON
{
  "hex": "#382ebb",
  "rgb": {
    "r": 56,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 244.255,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.20888,
    "h": 275.7
  },
  "luminance": 0.06383
}

Semantic roles & 50–950 ramp

primary
#382EBB
secondary
#C4CA7B
accent
#E444D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #382EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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