#3828A3#3828A3

#3828A3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.186 H 279.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3828A3
RGBrgb(56, 40, 163)
HSLhsl(248, 61%, 40%)
HSVhsv(248, 75%, 64%)
CMYKcmyk(65.6%, 75.5%, 0%, 36.1%)
CIE-LABlab(26.74, 43.66, -63.49)
CIE-LCHlch(26.74, 77.05, 304.51°)
OKLaboklab(38.75% 0.0295 -0.1833)
OKLCHoklch(38.75% 0.186 279.1)
XYZxyz(8.9984, 5.0020, 35.1345)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828A3 #93A328
analogous
#2855A3 #3828A3 #7628A3
triadic
#3828A3 #A33828 #28A338
tetradic
#3828A3 #A32855 #93A328 #28A376
square
#3828A3 #A32855 #93A328 #28A376
split-complementary
#3828A3 #A37628 #55A328
monochromatic
#161041 #271C72 #3828A3 #4D3ACF #796BDB

Accessibility & contrast

On white

10.50
#3828A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3828A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3828A3
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3828A3#FFFFFF#000000##FFFFFF
##3828A31.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3828a3;
/* rgb */ color: rgb(56, 40, 163);
/* oklch */ color: oklch(38.8% 0.186 279.1);
Tailwind
colors: {
  custom: {
    50: '#7d64bf',
    500: '#3828a3',
    950: '#000000',
  },
}
SCSS
$custom: #3828a3;
$custom-light: #7d64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3828a3",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 247.805,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38753,
    "c": 0.18566,
    "h": 279.1
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#3828A3
secondary
#B5C166
accent
#E444CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3828A3

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

Preview Lab → · Contrast checker → · Palette generator →

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