#3828B1#3828B1

#3828B1 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.203 H 277.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3828B1
RGBrgb(56, 40, 177)
HSLhsl(247, 63%, 43%)
HSVhsv(247, 77%, 69%)
CMYKcmyk(68.4%, 77.4%, 0%, 30.6%)
CIE-LABlab(28.20, 48.04, -69.51)
CIE-LCHlch(28.20, 84.50, 304.65°)
OKLaboklab(40.21% 0.0261 -0.2008)
OKLCHoklch(40.21% 0.203 277.4)
XYZxyz(10.3229, 5.5317, 42.1102)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828B1 #A1B128
analogous
#285DB1 #3828B1 #7C28B1
triadic
#3828B1 #B13828 #28B138
tetradic
#3828B1 #B1285D #A1B128 #28B17C
square
#3828B1 #B1285D #A1B128 #28B17C
split-complementary
#3828B1 #B17C28 #5DB128
monochromatic
#18114D #281D7F #3828B1 #5342D4 #8074E0

Accessibility & contrast

On white

9.97
#3828B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3828B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828B1
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828B1#FFFFFF#000000##FFFFFF
##3828B11.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3828b1;
/* rgb */ color: rgb(56, 40, 177);
/* oklch */ color: oklch(40.2% 0.203 277.4);
Tailwind
colors: {
  custom: {
    50: '#8065ca',
    500: '#3828b1',
    950: '#000000',
  },
}
SCSS
$custom: #3828b1;
$custom-light: #8065ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3828b1",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 247.007,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.20254,
    "h": 277.4
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

primary
#3828B1
secondary
#BCC76E
accent
#E642D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3828B1

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

Preview Lab → · Contrast checker → · Palette generator →

#3828B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva