#3827A7#3827A7

#3827A7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.192 H 278.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3827A7
RGBrgb(56, 39, 167)
HSLhsl(248, 62%, 40%)
HSVhsv(248, 77%, 65%)
CMYKcmyk(66.5%, 76.6%, 0%, 34.5%)
CIE-LABlab(26.96, 45.45, -65.54)
CIE-LCHlch(26.96, 79.76, 304.74°)
OKLaboklab(39.03% 0.0291 -0.1893)
OKLCHoklch(39.03% 0.192 278.7)
XYZxyz(9.3292, 5.0810, 37.0408)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827A7 #96A727
analogous
#2756A7 #3827A7 #7827A7
triadic
#3827A7 #A73827 #27A738
tetradic
#3827A7 #A72756 #96A727 #27A778
square
#3827A7 #A72756 #96A727 #27A778
split-complementary
#3827A7 #A77827 #56A727
monochromatic
#171044 #271B75 #3827A7 #4E3AD1 #7B6CDD

Accessibility & contrast

On white

10.41
#3827A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3827A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3827A7
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3827A7#FFFFFF#000000##FFFFFF
##3827A71.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3827a7;
/* rgb */ color: rgb(56, 39, 167);
/* oklch */ color: oklch(39.0% 0.192 278.7);
Tailwind
colors: {
  custom: {
    50: '#7e64c2',
    500: '#3827a7',
    950: '#000000',
  },
}
SCSS
$custom: #3827a7;
$custom-light: #7e64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3827a7",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 247.969,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39035,
    "c": 0.1915,
    "h": 278.7
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#3827A7
secondary
#B7C367
accent
#E543D0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3827A7

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

Preview Lab → · Contrast checker → · Palette generator →

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