#3826A2#3826A2

#3826A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.186 H 279.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3826A2
RGBrgb(56, 38, 162)
HSLhsl(249, 62%, 39%)
HSVhsv(249, 77%, 64%)
CMYKcmyk(65.4%, 76.5%, 0%, 36.5%)
CIE-LABlab(26.26, 44.42, -63.68)
CIE-LCHlch(26.26, 77.64, 304.90°)
OKLaboklab(38.38% 0.031 -0.1838)
OKLCHoklch(38.38% 0.186 279.6)
XYZxyz(8.8435, 4.8349, 34.6426)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3826A2 #90A226
analogous
#2652A2 #3826A2 #7626A2
triadic
#3826A2 #A23826 #26A238
tetradic
#3826A2 #A22652 #90A226 #26A276
square
#3826A2 #A22652 #90A226 #26A276
split-complementary
#3826A2 #A27626 #52A226
monochromatic
#160F3F #271A70 #3826A2 #4C35D0 #7867DB

Accessibility & contrast

On white

10.68
#3826A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3826A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3826A2#FFFFFF#000000##FFFFFF
##3826A21.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3826a2;
/* rgb */ color: rgb(56, 38, 162);
/* oklch */ color: oklch(38.4% 0.186 279.6);
Tailwind
colors: {
  custom: {
    50: '#7d63bf',
    500: '#3826a2',
    950: '#000000',
  },
}
SCSS
$custom: #3826a2;
$custom-light: #7d63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3826a2",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 248.71,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38384,
    "c": 0.18641,
    "h": 279.6
  },
  "luminance": 0.04836
}

Semantic roles & 50–950 ramp

primary
#3826A2
secondary
#B4C163
accent
#E543CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3826A2

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

Preview Lab → · Contrast checker → · Palette generator →

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