#3828B7#3828B7

#3828B7 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.9% C 0.210 H 276.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3828B7
RGBrgb(56, 40, 183)
HSLhsl(247, 64%, 44%)
HSVhsv(247, 78%, 72%)
CMYKcmyk(69.4%, 78.1%, 0%, 28.2%)
CIE-LABlab(28.84, 49.90, -72.03)
CIE-LCHlch(28.84, 87.62, 304.71°)
OKLaboklab(40.85% 0.0246 -0.2082)
OKLCHoklch(40.85% 0.21 276.7)
XYZxyz(10.9341, 5.7762, 45.3293)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828B7 #A7B728
analogous
#285FB7 #3828B7 #7F28B7
triadic
#3828B7 #B73828 #28B738
tetradic
#3828B7 #B7285F #A7B728 #28B77F
square
#3828B7 #B7285F #A7B728 #28B77F
split-complementary
#3828B7 #B77F28 #5FB728
monochromatic
#191253 #291D85 #3828B7 #5646D6 #8478E1

Accessibility & contrast

On white

9.74
#3828B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3828B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828B7
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828B7#FFFFFF#000000##FFFFFF
##3828B71.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)
#004ABB
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3828b7;
/* rgb */ color: rgb(56, 40, 183);
/* oklch */ color: oklch(40.9% 0.210 276.7);
Tailwind
colors: {
  custom: {
    50: '#8166ce',
    500: '#3828b7',
    950: '#000000',
  },
}
SCSS
$custom: #3828b7;
$custom-light: #8166ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3828b7",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 246.713,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.20962,
    "h": 276.7
  },
  "luminance": 0.05777
}

Semantic roles & 50–950 ramp

primary
#3828B7
secondary
#BFC972
accent
#E741D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3828B7

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

Preview Lab → · Contrast checker → · Palette generator →

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