#3822AD#3822AD

#3822AD is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.1% C 0.203 H 278.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3822AD
RGBrgb(56, 34, 173)
HSLhsl(249, 67%, 41%)
HSVhsv(249, 80%, 68%)
CMYKcmyk(67.6%, 80.3%, 0%, 32.2%)
CIE-LABlab(26.74, 49.79, -69.53)
CIE-LCHlch(26.74, 85.52, 305.61°)
OKLaboklab(39.07% 0.0302 -0.2008)
OKLCHoklch(39.07% 0.203 278.5)
XYZxyz(9.7433, 5.0011, 39.9789)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822AD #97AD22
analogous
#2252AD #3822AD #7D22AD
triadic
#3822AD #AD3822 #22AD38
tetradic
#3822AD #AD2252 #97AD22 #22AD7D
square
#3822AD #AD2252 #97AD22 #22AD7D
split-complementary
#3822AD #AD7D22 #52AD22
monochromatic
#170E47 #27187A #3822AD #4F35D7 #7B68E1

Accessibility & contrast

On white

10.50
#3822AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3822AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3822AD
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3822AD#FFFFFF#000000##FFFFFF
##3822AD1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3822ad;
/* rgb */ color: rgb(56, 34, 173);
/* oklch */ color: oklch(39.1% 0.203 278.5);
Tailwind
colors: {
  custom: {
    50: '#8062c7',
    500: '#3822ad',
    950: '#000000',
  },
}
SCSS
$custom: #3822ad;
$custom-light: #8062c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3822ad",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 249.496,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39067,
    "c": 0.20307,
    "h": 278.5
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#3822AD
secondary
#B7C764
accent
#EA3ECF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3822AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3822AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva