#3827AE#3827AE

#3827AE is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.8% C 0.200 H 277.9°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#3827AE
RGBrgb(56, 39, 174)
HSLhsl(248, 63%, 42%)
HSVhsv(248, 78%, 68%)
CMYKcmyk(67.8%, 77.6%, 0%, 31.8%)
CIE-LABlab(27.70, 47.63, -68.54)
CIE-LCHlch(27.70, 83.46, 304.80°)
OKLaboklab(39.77% 0.0274 -0.198)
OKLCHoklch(39.77% 0.2 277.9)
XYZxyz(9.9939, 5.3469, 40.5416)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827AE #9DAE27
analogous
#2759AE #3827AE #7C27AE
triadic
#3827AE #AE3827 #27AE38
tetradic
#3827AE #AE2759 #9DAE27 #27AE7C
square
#3827AE #AE2759 #9DAE27 #27AE7C
split-complementary
#3827AE #AE7C27 #59AE27
monochromatic
#18114A #281C7C #3827AE #513ED4 #7E70DF

Accessibility & contrast

On white

10.15
#3827AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3827AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3827AE
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3827AE#FFFFFF#000000##FFFFFF
##3827AE1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3827ae;
/* rgb */ color: rgb(56, 39, 174);
/* oklch */ color: oklch(39.8% 0.200 277.9);
Tailwind
colors: {
  custom: {
    50: '#8064c7',
    500: '#3827ae',
    950: '#000000',
  },
}
SCSS
$custom: #3827ae;
$custom-light: #8064c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3827ae",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 247.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39771,
    "c": 0.19988,
    "h": 277.9
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#3827AE
secondary
#BAC66B
accent
#E641D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3827AE

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

Preview Lab → · Contrast checker → · Palette generator →

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