#3827AF#3827AF

#3827AF is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.201 H 277.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3827AF
RGBrgb(56, 39, 175)
HSLhsl(248, 64%, 42%)
HSVhsv(248, 78%, 69%)
CMYKcmyk(68%, 77.7%, 0%, 31.4%)
CIE-LABlab(27.81, 47.94, -68.96)
CIE-LCHlch(27.81, 83.98, 304.80°)
OKLaboklab(39.88% 0.0271 -0.1992)
OKLCHoklch(39.88% 0.201 277.8)
XYZxyz(10.0918, 5.3861, 41.0569)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827AF #9EAF27
analogous
#275AAF #3827AF #7C27AF
triadic
#3827AF #AF3827 #27AF38
tetradic
#3827AF #AF275A #9EAF27 #27AF7C
square
#3827AF #AF275A #9EAF27 #27AF7C
split-complementary
#3827AF #AF7C27 #5AAF27
monochromatic
#18114B #281C7D #3827AF #523FD4 #7F71DF

Accessibility & contrast

On white

10.11
#3827AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3827AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3827AF#FFFFFF#000000##FFFFFF
##3827AF1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3827af;
/* rgb */ color: rgb(56, 39, 175);
/* oklch */ color: oklch(39.9% 0.201 277.8);
Tailwind
colors: {
  custom: {
    50: '#8065c8',
    500: '#3827af',
    950: '#000000',
  },
}
SCSS
$custom: #3827af;
$custom-light: #8065c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3827af",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 247.5,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39877,
    "c": 0.20107,
    "h": 277.8
  },
  "luminance": 0.05387
}

Semantic roles & 50–950 ramp

primary
#3827AF
secondary
#BBC66B
accent
#E741D2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3827AF

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

Preview Lab → · Contrast checker → · Palette generator →

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