#3826A4#3826A4

#3826A4 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.189 H 279.3°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#3826A4
RGBrgb(56, 38, 164)
HSLhsl(249, 62%, 40%)
HSVhsv(249, 77%, 64%)
CMYKcmyk(65.9%, 76.8%, 0%, 35.7%)
CIE-LABlab(26.47, 45.04, -64.55)
CIE-LCHlch(26.47, 78.71, 304.91°)
OKLaboklab(38.59% 0.0305 -0.1864)
OKLCHoklch(38.59% 0.189 279.3)
XYZxyz(9.0227, 4.9066, 35.5863)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3826A4 #92A426
analogous
#2653A4 #3826A4 #7726A4
triadic
#3826A4 #A43826 #26A438
tetradic
#3826A4 #A42653 #92A426 #26A477
square
#3826A4 #A42653 #92A426 #26A477
split-complementary
#3826A4 #A47726 #53A426
monochromatic
#160F41 #271A72 #3826A4 #4D37D1 #7968DC

Accessibility & contrast

On white

10.60
#3826A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3826A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3826A4
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3826A4#FFFFFF#000000##FFFFFF
##3826A41.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3826a4;
/* rgb */ color: rgb(56, 38, 164);
/* oklch */ color: oklch(38.6% 0.189 279.3);
Tailwind
colors: {
  custom: {
    50: '#7e63c0',
    500: '#3826a4',
    950: '#000000',
  },
}
SCSS
$custom: #3826a4;
$custom-light: #7e63c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3826a4",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 248.571,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38592,
    "c": 0.18883,
    "h": 279.3
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#3826A4
secondary
#B5C264
accent
#E542CE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3826A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3826A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva