#3826AA#3826AA

#3826AA is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.2% C 0.196 H 278.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3826AA
RGBrgb(56, 38, 170)
HSLhsl(248, 63%, 41%)
HSVhsv(248, 78%, 67%)
CMYKcmyk(67.1%, 77.6%, 0%, 33.3%)
CIE-LABlab(27.10, 46.90, -67.13)
CIE-LCHlch(27.10, 81.89, 304.94°)
OKLaboklab(39.22% 0.0289 -0.1939)
OKLCHoklch(39.22% 0.196 278.5)
XYZxyz(9.5774, 5.1284, 38.5076)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3826AA #98AA26
analogous
#2656AA #3826AA #7A26AA
triadic
#3826AA #AA3826 #26AA38
tetradic
#3826AA #AA2656 #98AA26 #26AA7A
square
#3826AA #AA2656 #98AA26 #26AA7A
split-complementary
#3826AA #AA7A26 #56AA26
monochromatic
#171046 #281B78 #3826AA #4F3AD3 #7C6CDE

Accessibility & contrast

On white

10.37
#3826AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3826AA#FFFFFF#000000##FFFFFF
##3826AA1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3826aa;
/* rgb */ color: rgb(56, 38, 170);
/* oklch */ color: oklch(39.2% 0.196 278.5);
Tailwind
colors: {
  custom: {
    50: '#7f64c5',
    500: '#3826aa',
    950: '#000000',
  },
}
SCSS
$custom: #3826aa;
$custom-light: #7f64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3826aa",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 248.182,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39222,
    "c": 0.19604,
    "h": 278.5
  },
  "luminance": 0.05129
}

Semantic roles & 50–950 ramp

primary
#3826AA
secondary
#B8C567
accent
#E641D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3826AA

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

Preview Lab → · Contrast checker → · Palette generator →

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