#3826AB#3826AB

#3826AB is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.197 H 278.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3826AB
RGBrgb(56, 38, 171)
HSLhsl(248, 64%, 41%)
HSVhsv(248, 78%, 67%)
CMYKcmyk(67.3%, 77.8%, 0%, 32.9%)
CIE-LABlab(27.20, 47.21, -67.56)
CIE-LCHlch(27.20, 82.42, 304.95°)
OKLaboklab(39.33% 0.0287 -0.1951)
OKLCHoklch(39.33% 0.197 278.4)
XYZxyz(9.6723, 5.1664, 39.0077)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3826AB #99AB26
analogous
#2656AB #3826AB #7A26AB
triadic
#3826AB #AB3826 #26AB38
tetradic
#3826AB #AB2656 #99AB26 #26AB7A
square
#3826AB #AB2656 #99AB26 #26AB7A
split-complementary
#3826AB #AB7A26 #56AB26
monochromatic
#171047 #281B79 #3826AB #4F3BD3 #7C6DDF

Accessibility & contrast

On white

10.33
#3826AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3826AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3826AB
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3826AB#FFFFFF#000000##FFFFFF
##3826AB1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3826ab;
/* rgb */ color: rgb(56, 38, 171);
/* oklch */ color: oklch(39.3% 0.197 278.4);
Tailwind
colors: {
  custom: {
    50: '#7f64c5',
    500: '#3826ab',
    950: '#000000',
  },
}
SCSS
$custom: #3826ab;
$custom-light: #7f64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3826ab",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 248.12,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39328,
    "c": 0.19723,
    "h": 278.4
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#3826AB
secondary
#B8C568
accent
#E741D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3826AB

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

Preview Lab → · Contrast checker → · Palette generator →

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