#3827B6#3827B6

#3827B6 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.209 H 276.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#3827B6
RGBrgb(56, 39, 182)
HSLhsl(247, 65%, 43%)
HSVhsv(247, 79%, 71%)
CMYKcmyk(69.2%, 78.6%, 0%, 28.6%)
CIE-LABlab(28.56, 50.09, -71.90)
CIE-LCHlch(28.56, 87.62, 304.86°)
OKLaboklab(40.63% 0.0253 -0.2078)
OKLCHoklch(40.63% 0.209 276.9)
XYZxyz(10.7972, 5.6682, 44.7720)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827B6 #A5B627
analogous
#275DB6 #3827B6 #7F27B6
triadic
#3827B6 #B63827 #27B638
tetradic
#3827B6 #B6275D #A5B627 #27B67F
square
#3827B6 #B6275D #A5B627 #27B67F
split-complementary
#3827B6 #B67F27 #5DB627
monochromatic
#191151 #281C84 #3827B6 #5543D7 #8376E2

Accessibility & contrast

On white

9.84
#3827B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3827B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3827B6#FFFFFF#000000##FFFFFF
##3827B61.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BA
Deuteranopia (green-blind)
#003DB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3827b6;
/* rgb */ color: rgb(56, 39, 182);
/* oklch */ color: oklch(40.6% 0.209 276.9);
Tailwind
colors: {
  custom: {
    50: '#8165cd',
    500: '#3827b6',
    950: '#000000',
  },
}
SCSS
$custom: #3827b6;
$custom-light: #8165cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3827b6",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 247.133,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40625,
    "c": 0.20932,
    "h": 276.9
  },
  "luminance": 0.05669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3827B6

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

Preview Lab → · Contrast checker → · Palette generator →

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