#3826A7#3826A7

#3826A7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.192 H 278.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3826A7
RGBrgb(56, 38, 167)
HSLhsl(248, 63%, 40%)
HSVhsv(248, 77%, 65%)
CMYKcmyk(66.5%, 77.2%, 0%, 34.5%)
CIE-LABlab(26.78, 45.97, -65.84)
CIE-LCHlch(26.78, 80.31, 304.92°)
OKLaboklab(38.91% 0.0297 -0.1901)
OKLCHoklch(38.91% 0.192 278.9)
XYZxyz(9.2968, 5.0162, 37.0300)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3826A7 #95A726
analogous
#2654A7 #3826A7 #7826A7
triadic
#3826A7 #A73826 #26A738
tetradic
#3826A7 #A72654 #95A726 #26A778
square
#3826A7 #A72654 #95A726 #26A778
split-complementary
#3826A7 #A77826 #54A726
monochromatic
#170F43 #271B75 #3826A7 #4E38D2 #7A6ADD

Accessibility & contrast

On white

10.48
#3826A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3826A7
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3826A7#FFFFFF#000000##FFFFFF
##3826A71.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3826a7;
/* rgb */ color: rgb(56, 38, 167);
/* oklch */ color: oklch(38.9% 0.192 278.9);
Tailwind
colors: {
  custom: {
    50: '#7e64c2',
    500: '#3826a7',
    950: '#000000',
  },
}
SCSS
$custom: #3826a7;
$custom-light: #7e64c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3826a7",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 248.372,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38906,
    "c": 0.19245,
    "h": 278.9
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3826A7

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

Preview Lab → · Contrast checker → · Palette generator →

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