#3828AA#3828AA

#3828AA is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.5% C 0.194 H 278.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3828AA
RGBrgb(56, 40, 170)
HSLhsl(247, 62%, 41%)
HSVhsv(247, 76%, 67%)
CMYKcmyk(67.1%, 76.5%, 0%, 33.3%)
CIE-LABlab(27.46, 45.86, -66.53)
CIE-LCHlch(27.46, 80.80, 304.58°)
OKLaboklab(39.48% 0.0278 -0.1922)
OKLCHoklch(39.48% 0.194 278.2)
XYZxyz(9.6430, 5.2598, 38.5295)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828AA #9AAA28
analogous
#2859AA #3828AA #7928AA
triadic
#3828AA #AA3828 #28AA38
tetradic
#3828AA #AA2859 #9AAA28 #28AA79
square
#3828AA #AA2859 #9AAA28 #28AA79
split-complementary
#3828AA #AA7928 #59AA28
monochromatic
#171147 #281C78 #3828AA #503ED2 #7D6FDD

Accessibility & contrast

On white

10.23
#3828AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3828AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3828AA#FFFFFF#000000##FFFFFF
##3828AA1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3828aa;
/* rgb */ color: rgb(56, 40, 170);
/* oklch */ color: oklch(39.5% 0.194 278.2);
Tailwind
colors: {
  custom: {
    50: '#7f65c5',
    500: '#3828aa',
    950: '#000000',
  },
}
SCSS
$custom: #3828aa;
$custom-light: #7f65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3828aa",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 247.385,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39478,
    "c": 0.19416,
    "h": 278.2
  },
  "luminance": 0.05261
}

Semantic roles & 50–950 ramp

primary
#3828AA
secondary
#B9C46A
accent
#E543D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3828AA

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

Preview Lab → · Contrast checker → · Palette generator →

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