#3822AE#3822AE

#3822AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.2% C 0.204 H 278.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3822AE
RGBrgb(56, 34, 174)
HSLhsl(249, 67%, 41%)
HSVhsv(249, 80%, 68%)
CMYKcmyk(67.8%, 80.5%, 0%, 31.8%)
CIE-LABlab(26.85, 50.09, -69.95)
CIE-LCHlch(26.85, 86.03, 305.61°)
OKLaboklab(39.18% 0.0299 -0.202)
OKLCHoklch(39.18% 0.204 278.4)
XYZxyz(9.8404, 5.0400, 40.4904)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822AE #98AE22
analogous
#2252AE #3822AE #7E22AE
triadic
#3822AE #AE3822 #22AE38
tetradic
#3822AE #AE2252 #98AE22 #22AE7E
square
#3822AE #AE2252 #98AE22 #22AE7E
split-complementary
#3822AE #AE7E22 #52AE22
monochromatic
#170E48 #28187B #3822AE #4F36D8 #7C69E2

Accessibility & contrast

On white

10.46
#3822AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3822AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3822AE
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3822AE#FFFFFF#000000##FFFFFF
##3822AE1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3822ae;
/* rgb */ color: rgb(56, 34, 174);
/* oklch */ color: oklch(39.2% 0.204 278.4);
Tailwind
colors: {
  custom: {
    50: '#8062c8',
    500: '#3822ae',
    950: '#000000',
  },
}
SCSS
$custom: #3822ae;
$custom-light: #8062c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3822ae",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 249.429,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39176,
    "c": 0.20424,
    "h": 278.4
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3822AE

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

Preview Lab → · Contrast checker → · Palette generator →

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