#3826A8#3826A8

#3826A8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.194 H 278.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3826A8
RGBrgb(56, 38, 168)
HSLhsl(248, 63%, 40%)
HSVhsv(248, 77%, 66%)
CMYKcmyk(66.7%, 77.4%, 0%, 34.1%)
CIE-LABlab(26.89, 46.28, -66.27)
CIE-LCHlch(26.89, 80.84, 304.93°)
OKLaboklab(39.01% 0.0295 -0.1914)
OKLCHoklch(39.01% 0.194 278.7)
XYZxyz(9.3896, 5.0533, 37.5188)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3826A8 #96A826
analogous
#2655A8 #3826A8 #7926A8
triadic
#3826A8 #A83826 #26A838
tetradic
#3826A8 #A82655 #96A826 #26A879
square
#3826A8 #A82655 #96A826 #26A879
split-complementary
#3826A8 #A87926 #55A826
monochromatic
#170F44 #271B76 #3826A8 #4E39D2 #7B6BDE

Accessibility & contrast

On white

10.44
#3826A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3826A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3826A8#FFFFFF#000000##FFFFFF
##3826A81.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3826a8;
/* rgb */ color: rgb(56, 38, 168);
/* oklch */ color: oklch(39.0% 0.194 278.7);
Tailwind
colors: {
  custom: {
    50: '#7e64c3',
    500: '#3826a8',
    950: '#000000',
  },
}
SCSS
$custom: #3826a8;
$custom-light: #7e64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3826a8",
  "rgb": {
    "r": 56,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 248.308,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39011,
    "c": 0.19365,
    "h": 278.7
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3826A8

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

Preview Lab → · Contrast checker → · Palette generator →

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