#3828DE#3828DE

#3828DE is a mid, highly saturated blue. Relative luminance 0.076; OKLCH L 45.1% C 0.254 H 273.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3828DE
RGBrgb(56, 40, 222)
HSLhsl(245, 73%, 51%)
HSVhsv(245, 82%, 87%)
CMYKcmyk(74.8%, 82%, 0%, 12.9%)
CIE-LABlab(33.20, 61.51, -87.57)
CIE-LCHlch(33.20, 107.02, 305.08°)
OKLaboklab(45.15% 0.0146 -0.2533)
OKLCHoklch(45.15% 0.254 273.3)
XYZxyz(15.5701, 7.6306, 69.7454)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828DE #CEDE28
analogous
#2873DE #3828DE #9328DE
triadic
#3828DE #DE3828 #28DE38
tetradic
#3828DE #DE2873 #CEDE28 #28DE93
square
#3828DE #DE2873 #CEDE28 #28DE93
split-complementary
#3828DE #DE9328 #73DE28
monochromatic
#1C1379 #281BAE #3828DE #695DE6 #9A92EE

Accessibility & contrast

On white

8.31
#3828DE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3828DE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828DE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828DE#FFFFFF#000000##FFFFFF
##3828DE1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056E3
Deuteranopia (green-blind)
#0045DB
Tritanopia (blue-blind)
#006386
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3828de;
/* rgb */ color: rgb(56, 40, 222);
/* oklch */ color: oklch(45.1% 0.254 273.3);
Tailwind
colors: {
  custom: {
    50: '#8a68ea',
    500: '#3828de',
    950: '#000000',
  },
}
SCSS
$custom: #3828de;
$custom-light: #8a68ea;
$custom-dark: #000000;
JSON
{
  "hex": "#3828de",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 222
  },
  "hsl": {
    "h": 245.275,
    "s": 73.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.25371,
    "h": 273.3
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

primary
#3828DE
secondary
#D2D989
accent
#F038E0
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3828DE

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

Preview Lab → · Contrast checker → · Palette generator →

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