#3827A3#3827A3

#3827A3 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.187 H 279.3°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3827A3
RGBrgb(56, 39, 163)
HSLhsl(248, 61%, 40%)
HSVhsv(248, 76%, 64%)
CMYKcmyk(65.6%, 76.1%, 0%, 36.1%)
CIE-LABlab(26.55, 44.20, -63.80)
CIE-LCHlch(26.55, 77.62, 304.71°)
OKLaboklab(38.62% 0.0301 -0.1842)
OKLCHoklch(38.62% 0.187 279.3)
XYZxyz(8.9652, 4.9354, 35.1234)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827A3 #92A327
analogous
#2754A3 #3827A3 #7627A3
triadic
#3827A3 #A33827 #27A338
tetradic
#3827A3 #A32754 #92A327 #27A376
square
#3827A3 #A32754 #92A327 #27A376
split-complementary
#3827A3 #A37627 #54A327
monochromatic
#160F40 #271B72 #3827A3 #4D38CF #7969DB

Accessibility & contrast

On white

10.57
#3827A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3827A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3827A3
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3827A3#FFFFFF#000000##FFFFFF
##3827A31.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3827a3;
/* rgb */ color: rgb(56, 39, 163);
/* oklch */ color: oklch(38.6% 0.187 279.3);
Tailwind
colors: {
  custom: {
    50: '#7d64bf',
    500: '#3827a3',
    950: '#000000',
  },
}
SCSS
$custom: #3827a3;
$custom-light: #7d64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3827a3",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 248.226,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38619,
    "c": 0.18664,
    "h": 279.3
  },
  "luminance": 0.04936
}

Semantic roles & 50–950 ramp

primary
#3827A3
secondary
#B5C164
accent
#E443CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3827A3

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

Preview Lab → · Contrast checker → · Palette generator →

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