#382BB4#382BB4

#382BB4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.203 H 276.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#382BB4
RGBrgb(56, 43, 180)
HSLhsl(246, 61%, 44%)
HSVhsv(246, 76%, 71%)
CMYKcmyk(68.9%, 76.1%, 0%, 29.4%)
CIE-LABlab(29.06, 47.41, -69.87)
CIE-LCHlch(29.06, 84.44, 304.16°)
OKLaboklab(40.92% 0.0238 -0.2019)
OKLCHoklch(40.92% 0.203 276.7)
XYZxyz(10.7303, 5.8628, 43.7373)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BB4 #A7B42B
analogous
#2B62B4 #382BB4 #7C2BB4
triadic
#382BB4 #B4382B #2BB438
tetradic
#382BB4 #B42B62 #A7B42B #2BB47C
square
#382BB4 #B42B62 #A7B42B #2BB47C
split-complementary
#382BB4 #B47C2B #62B42B
monochromatic
#191351 #291F83 #382BB4 #5649D3 #847ADF

Accessibility & contrast

On white

9.66
#382BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#382BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BB4
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BB4#FFFFFF#000000##FFFFFF
##382BB41.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#003FB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382bb4;
/* rgb */ color: rgb(56, 43, 180);
/* oklch */ color: oklch(40.9% 0.203 276.7);
Tailwind
colors: {
  custom: {
    50: '#8167cc',
    500: '#382bb4',
    950: '#000000',
  },
}
SCSS
$custom: #382bb4;
$custom-light: #8167cc;
$custom-dark: #000000;
JSON
{
  "hex": "#382bb4",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 245.693,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40915,
    "c": 0.20333,
    "h": 276.7
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#382BB4
secondary
#BFC773
accent
#E543D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #382BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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