#3826A6#3826A6

#3826A6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.191 H 279.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3826A6
RGBrgb(56, 38, 166)
HSLhsl(248, 63%, 40%)
HSVhsv(248, 77%, 65%)
CMYKcmyk(66.3%, 77.1%, 0%, 34.9%)
CIE-LABlab(26.68, 45.66, -65.41)
CIE-LCHlch(26.68, 79.77, 304.92°)
OKLaboklab(38.8% 0.03 -0.1889)
OKLCHoklch(38.8% 0.191 279)
XYZxyz(9.2047, 4.9794, 36.5450)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3826A6 #94A626
analogous
#2654A6 #3826A6 #7826A6
triadic
#3826A6 #A63826 #26A638
tetradic
#3826A6 #A62654 #94A626 #26A678
square
#3826A6 #A62654 #94A626 #26A678
split-complementary
#3826A6 #A67826 #54A626
monochromatic
#160F42 #271B74 #3826A6 #4D38D1 #7A6ADD

Accessibility & contrast

On white

10.52
#3826A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3826A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3826A6
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3826A6#FFFFFF#000000##FFFFFF
##3826A61.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003AA4
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3826a6;
/* rgb */ color: rgb(56, 38, 166);
/* oklch */ color: oklch(38.8% 0.191 279.0);
Tailwind
colors: {
  custom: {
    50: '#7e63c2',
    500: '#3826a6',
    950: '#000000',
  },
}
SCSS
$custom: #3826a6;
$custom-light: #7e63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3826a6",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 248.438,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.38801,
    "c": 0.19125,
    "h": 279
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#3826A6
secondary
#B6C365
accent
#E642CF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3826A6

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

Preview Lab → · Contrast checker → · Palette generator →

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