#3828AC#3828AC

#3828AC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.7% C 0.197 H 278.0°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3828AC
RGBrgb(56, 40, 172)
HSLhsl(247, 62%, 42%)
HSVhsv(247, 77%, 67%)
CMYKcmyk(67.4%, 76.7%, 0%, 32.5%)
CIE-LABlab(27.67, 46.49, -67.39)
CIE-LCHlch(27.67, 81.87, 304.60°)
OKLaboklab(39.69% 0.0273 -0.1947)
OKLCHoklch(39.69% 0.197 278)
XYZxyz(9.8337, 5.3360, 39.5335)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828AC #9CAC28
analogous
#285AAC #3828AC #7A28AC
triadic
#3828AC #AC3828 #28AC38
tetradic
#3828AC #AC285A #9CAC28 #28AC7A
square
#3828AC #AC285A #9CAC28 #28AC7A
split-complementary
#3828AC #AC7A28 #5AAC28
monochromatic
#181149 #281C7A #3828AC #513FD2 #7E71DE

Accessibility & contrast

On white

10.16
#3828AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3828AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828AC
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828AC#FFFFFF#000000##FFFFFF
##3828AC1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3828ac;
/* rgb */ color: rgb(56, 40, 172);
/* oklch */ color: oklch(39.7% 0.197 278.0);
Tailwind
colors: {
  custom: {
    50: '#7f65c6',
    500: '#3828ac',
    950: '#000000',
  },
}
SCSS
$custom: #3828ac;
$custom-light: #7f65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3828ac",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 247.273,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.19657,
    "h": 278
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#3828AC
secondary
#BAC56B
accent
#E542D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3828AC

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

Preview Lab → · Contrast checker → · Palette generator →

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