#3827AA#3827AA

#3827AA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.195 H 278.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3827AA
RGBrgb(56, 39, 170)
HSLhsl(248, 63%, 41%)
HSVhsv(248, 77%, 67%)
CMYKcmyk(67.1%, 77.1%, 0%, 33.3%)
CIE-LABlab(27.28, 46.39, -66.83)
CIE-LCHlch(27.28, 81.35, 304.76°)
OKLaboklab(39.35% 0.0284 -0.193)
OKLCHoklch(39.35% 0.195 278.4)
XYZxyz(9.6098, 5.1933, 38.5184)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827AA #99AA27
analogous
#2757AA #3827AA #7927AA
triadic
#3827AA #AA3827 #27AA38
tetradic
#3827AA #AA2757 #99AA27 #27AA79
square
#3827AA #AA2757 #99AA27 #27AA79
split-complementary
#3827AA #AA7927 #57AA27
monochromatic
#171046 #281C78 #3827AA #4F3CD2 #7C6EDE

Accessibility & contrast

On white

10.30
#3827AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3827AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3827AA#FFFFFF#000000##FFFFFF
##3827AA1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3827aa;
/* rgb */ color: rgb(56, 39, 170);
/* oklch */ color: oklch(39.3% 0.195 278.4);
Tailwind
colors: {
  custom: {
    50: '#7f64c5',
    500: '#3827aa',
    950: '#000000',
  },
}
SCSS
$custom: #3827aa;
$custom-light: #7f64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3827aa",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 247.786,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.19511,
    "h": 278.4
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3827AA

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

Preview Lab → · Contrast checker → · Palette generator →

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