#382BB2#382BB2

#382BB2 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.7% C 0.201 H 276.9°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#382BB2
RGBrgb(56, 43, 178)
HSLhsl(246, 61%, 43%)
HSVhsv(246, 76%, 70%)
CMYKcmyk(68.5%, 75.8%, 0%, 30.2%)
CIE-LABlab(28.86, 46.78, -69.02)
CIE-LCHlch(28.86, 83.38, 304.13°)
OKLaboklab(40.71% 0.0243 -0.1995)
OKLCHoklch(40.71% 0.201 276.9)
XYZxyz(10.5280, 5.7819, 42.6720)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BB2 #A5B22B
analogous
#2B61B2 #382BB2 #7B2BB2
triadic
#382BB2 #B2382B #2BB238
tetradic
#382BB2 #B22B61 #A5B22B #2BB27B
square
#382BB2 #B22B61 #A5B22B #2BB27B
split-complementary
#382BB2 #B27B2B #61B22B
monochromatic
#19134F #281F81 #382BB2 #5548D3 #8379DF

Accessibility & contrast

On white

9.74
#382BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#382BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BB2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BB2#FFFFFF#000000##FFFFFF
##382BB21.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382bb2;
/* rgb */ color: rgb(56, 43, 178);
/* oklch */ color: oklch(40.7% 0.201 276.9);
Tailwind
colors: {
  custom: {
    50: '#8067ca',
    500: '#382bb2',
    950: '#000000',
  },
}
SCSS
$custom: #382bb2;
$custom-light: #8067ca;
$custom-dark: #000000;
JSON
{
  "hex": "#382bb2",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 245.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.20093,
    "h": 276.9
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#382BB2
secondary
#BEC772
accent
#E444D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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