#3828A9#3828A9

#3828A9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.193 H 278.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3828A9
RGBrgb(56, 40, 169)
HSLhsl(247, 62%, 41%)
HSVhsv(247, 76%, 66%)
CMYKcmyk(66.9%, 76.3%, 0%, 33.7%)
CIE-LABlab(27.36, 45.55, -66.10)
CIE-LCHlch(27.36, 80.27, 304.57°)
OKLaboklab(39.37% 0.0281 -0.1909)
OKLCHoklch(39.37% 0.193 278.4)
XYZxyz(9.5488, 5.2221, 38.0332)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3828A9 #99A928
analogous
#2858A9 #3828A9 #7828A9
triadic
#3828A9 #A93828 #28A938
tetradic
#3828A9 #A92858 #99A928 #28A978
square
#3828A9 #A92858 #99A928 #28A978
split-complementary
#3828A9 #A97828 #58A928
monochromatic
#171146 #281C78 #3828A9 #4F3DD1 #7C6FDD

Accessibility & contrast

On white

10.27
#3828A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3828A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3828A9#FFFFFF#000000##FFFFFF
##3828A91.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3828a9;
/* rgb */ color: rgb(56, 40, 169);
/* oklch */ color: oklch(39.4% 0.193 278.4);
Tailwind
colors: {
  custom: {
    50: '#7e65c4',
    500: '#3828a9',
    950: '#000000',
  },
}
SCSS
$custom: #3828a9;
$custom-light: #7e65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3828a9",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 247.442,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39374,
    "c": 0.19295,
    "h": 278.4
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#3828A9
secondary
#B8C469
accent
#E543D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3828A9

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

Preview Lab → · Contrast checker → · Palette generator →

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