#3827AC#3827AC

#3827AC is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.6% C 0.198 H 278.1°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#3827AC
RGBrgb(56, 39, 172)
HSLhsl(248, 63%, 41%)
HSVhsv(248, 77%, 67%)
CMYKcmyk(67.4%, 77.3%, 0%, 32.5%)
CIE-LABlab(27.49, 47.01, -67.69)
CIE-LCHlch(27.49, 82.41, 304.78°)
OKLaboklab(39.56% 0.0279 -0.1955)
OKLCHoklch(39.56% 0.198 278.1)
XYZxyz(9.8004, 5.2695, 39.5224)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827AC #9BAC27
analogous
#2759AC #3827AC #7B27AC
triadic
#3827AC #AC3827 #27AC38
tetradic
#3827AC #AC2759 #9BAC27 #27AC7B
square
#3827AC #AC2759 #9BAC27 #27AC7B
split-complementary
#3827AC #AC7B27 #59AC27
monochromatic
#181048 #281C7A #3827AC #503DD3 #7D6FDE

Accessibility & contrast

On white

10.22
#3827AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3827AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3827AC
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3827AC#FFFFFF#000000##FFFFFF
##3827AC1.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3827ac;
/* rgb */ color: rgb(56, 39, 172);
/* oklch */ color: oklch(39.6% 0.198 278.1);
Tailwind
colors: {
  custom: {
    50: '#7f64c6',
    500: '#3827ac',
    950: '#000000',
  },
}
SCSS
$custom: #3827ac;
$custom-light: #7f64c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3827ac",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 247.669,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39559,
    "c": 0.1975,
    "h": 278.1
  },
  "luminance": 0.0527
}

Semantic roles & 50–950 ramp

primary
#3827AC
secondary
#B9C56A
accent
#E642D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3827AC

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

Preview Lab → · Contrast checker → · Palette generator →

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