#3827B3#3827B3

#3827B3 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.206 H 277.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3827B3
RGBrgb(56, 39, 179)
HSLhsl(247, 64%, 43%)
HSVhsv(247, 78%, 70%)
CMYKcmyk(68.7%, 78.2%, 0%, 29.8%)
CIE-LABlab(28.24, 49.17, -70.64)
CIE-LCHlch(28.24, 86.07, 304.84°)
OKLaboklab(40.3% 0.0261 -0.2041)
OKLCHoklch(40.3% 0.206 277.3)
XYZxyz(10.4904, 5.5455, 43.1566)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3827B3 #A2B327
analogous
#275CB3 #3827B3 #7E27B3
triadic
#3827B3 #B33827 #27B338
tetradic
#3827B3 #B3275C #A2B327 #27B37E
square
#3827B3 #B3275C #A2B327 #27B37E
split-complementary
#3827B3 #B37E27 #5CB327
monochromatic
#19114E #281C81 #3827B3 #5341D6 #8174E1

Accessibility & contrast

On white

9.96
#3827B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3827B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3827B3
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3827B3#FFFFFF#000000##FFFFFF
##3827B31.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3827b3;
/* rgb */ color: rgb(56, 39, 179);
/* oklch */ color: oklch(40.3% 0.206 277.3);
Tailwind
colors: {
  custom: {
    50: '#8165cb',
    500: '#3827b3',
    950: '#000000',
  },
}
SCSS
$custom: #3827b3;
$custom-light: #8165cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3827b3",
  "rgb": {
    "r": 56,
    "g": 39,
    "b": 179
  },
  "hsl": {
    "h": 247.286,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40303,
    "c": 0.20579,
    "h": 277.3
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3827B3

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

Preview Lab → · Contrast checker → · Palette generator →

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