#3827B2#3827B2

#3827B2 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.205 H 277.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3827B2
RGBrgb(56, 39, 178)
HSLhsl(247, 64%, 43%)
HSVhsv(247, 78%, 70%)
CMYKcmyk(68.5%, 78.1%, 0%, 30.2%)
CIE-LABlab(28.13, 48.86, -70.22)
CIE-LCHlch(28.13, 85.55, 304.83°)
OKLaboklab(40.2% 0.0264 -0.2029)
OKLCHoklch(40.2% 0.205 277.4)
XYZxyz(10.3897, 5.5052, 42.6259)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827B2 #A1B227
analogous
#275CB2 #3827B2 #7D27B2
triadic
#3827B2 #B23827 #27B238
tetradic
#3827B2 #B2275C #A1B227 #27B27D
square
#3827B2 #B2275C #A1B227 #27B27D
split-complementary
#3827B2 #B27D27 #5CB227
monochromatic
#18114E #281C80 #3827B2 #5341D5 #8073E0

Accessibility & contrast

On white

9.99
#3827B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3827B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3827B2#FFFFFF#000000##FFFFFF
##3827B21.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3827b2;
/* rgb */ color: rgb(56, 39, 178);
/* oklch */ color: oklch(40.2% 0.205 277.4);
Tailwind
colors: {
  custom: {
    50: '#8065ca',
    500: '#3827b2',
    950: '#000000',
  },
}
SCSS
$custom: #3827b2;
$custom-light: #8065ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3827b2",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 178
  },
  "hsl": {
    "h": 247.338,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.20462,
    "h": 277.4
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#3827B2
secondary
#BCC86D
accent
#E741D3
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3827B2

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

Preview Lab → · Contrast checker → · Palette generator →

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