#3827B8#3827B8

#3827B8 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.212 H 276.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3827B8
RGBrgb(56, 39, 184)
HSLhsl(247, 65%, 44%)
HSVhsv(247, 79%, 72%)
CMYKcmyk(69.6%, 78.8%, 0%, 27.8%)
CIE-LABlab(28.78, 50.70, -72.73)
CIE-LCHlch(28.78, 88.65, 304.88°)
OKLaboklab(40.84% 0.0248 -0.2102)
OKLCHoklch(40.84% 0.212 276.7)
XYZxyz(11.0053, 5.7515, 45.8683)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827B8 #A7B827
analogous
#275FB8 #3827B8 #8027B8
triadic
#3827B8 #B83827 #27B838
tetradic
#3827B8 #B8275F #A7B827 #27B880
square
#3827B8 #B8275F #A7B827 #27B880
split-complementary
#3827B8 #B88027 #5FB827
monochromatic
#191253 #291C86 #3827B8 #5645D8 #8477E2

Accessibility & contrast

On white

9.77
#3827B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3827B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3827B8#FFFFFF#000000##FFFFFF
##3827B81.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003EB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3827b8;
/* rgb */ color: rgb(56, 39, 184);
/* oklch */ color: oklch(40.8% 0.212 276.7);
Tailwind
colors: {
  custom: {
    50: '#8265cf',
    500: '#3827b8',
    950: '#000000',
  },
}
SCSS
$custom: #3827b8;
$custom-light: #8265cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3827b8",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 247.034,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4084,
    "c": 0.21165,
    "h": 276.7
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#3827B8
secondary
#BFCA71
accent
#E840D4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3827B8

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

Preview Lab → · Contrast checker → · Palette generator →

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