#3827A9#3827A9

#3827A9 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.2% C 0.194 H 278.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3827A9
RGBrgb(56, 39, 169)
HSLhsl(248, 63%, 41%)
HSVhsv(248, 77%, 66%)
CMYKcmyk(66.9%, 76.9%, 0%, 33.7%)
CIE-LABlab(27.17, 46.07, -66.40)
CIE-LCHlch(27.17, 80.82, 304.76°)
OKLaboklab(39.24% 0.0286 -0.1918)
OKLCHoklch(39.24% 0.194 278.5)
XYZxyz(9.5155, 5.1556, 38.0221)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827A9 #98A927
analogous
#2757A9 #3827A9 #7927A9
triadic
#3827A9 #A93827 #27A938
tetradic
#3827A9 #A92757 #98A927 #27A979
square
#3827A9 #A92757 #98A927 #27A979
split-complementary
#3827A9 #A97927 #57A927
monochromatic
#171046 #281C77 #3827A9 #4F3BD2 #7C6DDD

Accessibility & contrast

On white

10.34
#3827A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3827A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3827A9
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3827A9#FFFFFF#000000##FFFFFF
##3827A91.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3827a9;
/* rgb */ color: rgb(56, 39, 169);
/* oklch */ color: oklch(39.2% 0.194 278.5);
Tailwind
colors: {
  custom: {
    50: '#7f64c4',
    500: '#3827a9',
    950: '#000000',
  },
}
SCSS
$custom: #3827a9;
$custom-light: #7f64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3827a9",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 247.846,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39244,
    "c": 0.19391,
    "h": 278.5
  },
  "luminance": 0.05156
}

Semantic roles & 50–950 ramp

primary
#3827A9
secondary
#B8C468
accent
#E642D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3827A9

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

Preview Lab → · Contrast checker → · Palette generator →

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