#382BB1#382BB1

#382BB1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.6% C 0.200 H 277.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#382BB1
RGBrgb(56, 43, 177)
HSLhsl(246, 61%, 43%)
HSVhsv(246, 76%, 69%)
CMYKcmyk(68.4%, 75.7%, 0%, 30.6%)
CIE-LABlab(28.75, 46.47, -68.60)
CIE-LCHlch(28.75, 82.85, 304.11°)
OKLaboklab(40.6% 0.0245 -0.1982)
OKLCHoklch(40.6% 0.2 277)
XYZxyz(10.4280, 5.7419, 42.1452)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#382BB1 #A4B12B
analogous
#2B61B1 #382BB1 #7B2BB1
triadic
#382BB1 #B1382B #2BB138
tetradic
#382BB1 #B12B61 #A4B12B #2BB17B
square
#382BB1 #B12B61 #A4B12B #2BB17B
split-complementary
#382BB1 #B17B2B #61B12B
monochromatic
#19134F #281F80 #382BB1 #5447D2 #8278DE

Accessibility & contrast

On white

9.77
#382BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#382BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #382BB1
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##382BB1#FFFFFF#000000##FFFFFF
##382BB11.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #382bb1;
/* rgb */ color: rgb(56, 43, 177);
/* oklch */ color: oklch(40.6% 0.200 277.0);
Tailwind
colors: {
  custom: {
    50: '#8067ca',
    500: '#382bb1',
    950: '#000000',
  },
}
SCSS
$custom: #382bb1;
$custom-light: #8067ca;
$custom-dark: #000000;
JSON
{
  "hex": "#382bb1",
  "rgb": {
    "r": 56,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 245.821,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40603,
    "c": 0.19973,
    "h": 277
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#382BB1
secondary
#BEC672
accent
#E444D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #382BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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