#3827BC#3827BC

#3827BC is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.3% C 0.216 H 276.3°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3827BC
RGBrgb(56, 39, 188)
HSLhsl(247, 66%, 45%)
HSVhsv(247, 79%, 74%)
CMYKcmyk(70.2%, 79.3%, 0%, 26.3%)
CIE-LABlab(29.21, 51.91, -74.37)
CIE-LCHlch(29.21, 90.70, 304.92°)
OKLaboklab(41.27% 0.0238 -0.215)
OKLCHoklch(41.27% 0.216 276.3)
XYZxyz(11.4305, 5.9216, 48.1078)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827BC #ABBC27
analogous
#2760BC #3827BC #8327BC
triadic
#3827BC #BC3827 #27BC38
tetradic
#3827BC #BC2760 #ABBC27 #27BC83
square
#3827BC #BC2760 #ABBC27 #27BC83
split-complementary
#3827BC #BC8327 #60BC27
monochromatic
#1A1257 #291C89 #3827BC #5847D9 #867AE3

Accessibility & contrast

On white

9.61
#3827BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3827BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3827BC#FFFFFF#000000##FFFFFF
##3827BC1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC0
Deuteranopia (green-blind)
#003EB9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3827bc;
/* rgb */ color: rgb(56, 39, 188);
/* oklch */ color: oklch(41.3% 0.216 276.3);
Tailwind
colors: {
  custom: {
    50: '#8365d2',
    500: '#3827bc',
    950: '#000000',
  },
}
SCSS
$custom: #3827bc;
$custom-light: #8365d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3827bc",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 246.846,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41273,
    "c": 0.21629,
    "h": 276.3
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#3827BC
secondary
#C1CB73
accent
#E93FD5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3827BC

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

Preview Lab → · Contrast checker → · Palette generator →

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