#3826AC#3826AC

#3826AC is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.198 H 278.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3826AC
RGBrgb(56, 38, 172)
HSLhsl(248, 64%, 41%)
HSVhsv(248, 78%, 67%)
CMYKcmyk(67.4%, 77.9%, 0%, 32.5%)
CIE-LABlab(27.31, 47.52, -67.98)
CIE-LCHlch(27.31, 82.94, 304.95°)
OKLaboklab(39.43% 0.0284 -0.1964)
OKLCHoklch(39.43% 0.198 278.2)
XYZxyz(9.7680, 5.2047, 39.5116)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3826AC #9AAC26
analogous
#2657AC #3826AC #7B26AC
triadic
#3826AC #AC3826 #26AC38
tetradic
#3826AC #AC2657 #9AAC26 #26AC7B
square
#3826AC #AC2657 #9AAC26 #26AC7B
split-complementary
#3826AC #AC7B26 #57AC26
monochromatic
#171048 #281B7A #3826AC #503BD4 #7D6EDF

Accessibility & contrast

On white

10.29
#3826AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3826AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3826AC
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3826AC#FFFFFF#000000##FFFFFF
##3826AC1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003BAA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3826ac;
/* rgb */ color: rgb(56, 38, 172);
/* oklch */ color: oklch(39.4% 0.198 278.2);
Tailwind
colors: {
  custom: {
    50: '#7f64c6',
    500: '#3826ac',
    950: '#000000',
  },
}
SCSS
$custom: #3826ac;
$custom-light: #7f64c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3826ac",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 248.06,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.19842,
    "h": 278.2
  },
  "luminance": 0.05206
}

Semantic roles & 50–950 ramp

primary
#3826AC
secondary
#B9C568
accent
#E741D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3826AC

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

Preview Lab → · Contrast checker → · Palette generator →

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