#3828AE#3828AE

#3828AE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.9% C 0.199 H 277.8°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#3828AE
RGBrgb(56, 40, 174)
HSLhsl(247, 63%, 42%)
HSVhsv(247, 77%, 68%)
CMYKcmyk(67.8%, 77%, 0%, 31.8%)
CIE-LABlab(27.88, 47.11, -68.24)
CIE-LCHlch(27.88, 82.92, 304.62°)
OKLaboklab(39.9% 0.0268 -0.1971)
OKLCHoklch(39.9% 0.199 277.8)
XYZxyz(10.0272, 5.4135, 40.5527)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828AE #9EAE28
analogous
#285BAE #3828AE #7B28AE
triadic
#3828AE #AE3828 #28AE38
tetradic
#3828AE #AE285B #9EAE28 #28AE7B
square
#3828AE #AE285B #9EAE28 #28AE7B
split-complementary
#3828AE #AE7B28 #5BAE28
monochromatic
#18114A #281D7C #3828AE #5240D3 #7F72DF

Accessibility & contrast

On white

10.08
#3828AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3828AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828AE
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828AE#FFFFFF#000000##FFFFFF
##3828AE1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3828ae;
/* rgb */ color: rgb(56, 40, 174);
/* oklch */ color: oklch(39.9% 0.199 277.8);
Tailwind
colors: {
  custom: {
    50: '#8065c7',
    500: '#3828ae',
    950: '#000000',
  },
}
SCSS
$custom: #3828ae;
$custom-light: #8065c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3828ae",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 247.164,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39897,
    "c": 0.19896,
    "h": 277.8
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#3828AE
secondary
#BBC66C
accent
#E642D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3828AE

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

Preview Lab → · Contrast checker → · Palette generator →

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