#3822AC#3822AC

#3822AC is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.202 H 278.7°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3822AC
RGBrgb(56, 34, 172)
HSLhsl(250, 67%, 40%)
HSVhsv(250, 80%, 67%)
CMYKcmyk(67.4%, 80.2%, 0%, 32.5%)
CIE-LABlab(26.63, 49.49, -69.11)
CIE-LCHlch(26.63, 85.00, 305.61°)
OKLaboklab(38.96% 0.0305 -0.1996)
OKLCHoklch(38.96% 0.202 278.7)
XYZxyz(9.6469, 4.9625, 39.4712)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822AC #96AC22
analogous
#2251AC #3822AC #7D22AC
triadic
#3822AC #AC3822 #22AC38
tetradic
#3822AC #AC2251 #96AC22 #22AC7D
square
#3822AC #AC2251 #96AC22 #22AC7D
split-complementary
#3822AC #AC7D22 #51AC22
monochromatic
#170E46 #271879 #3822AC #4E34D7 #7B67E1

Accessibility & contrast

On white

10.54
#3822AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3822AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3822AC
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3822AC#FFFFFF#000000##FFFFFF
##3822AC1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3822ac;
/* rgb */ color: rgb(56, 34, 172);
/* oklch */ color: oklch(39.0% 0.202 278.7);
Tailwind
colors: {
  custom: {
    50: '#8062c6',
    500: '#3822ac',
    950: '#000000',
  },
}
SCSS
$custom: #3822ac;
$custom-light: #8062c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3822ac",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 249.565,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38958,
    "c": 0.20192,
    "h": 278.7
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#3822AC
secondary
#B7C763
accent
#EA3ECE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3822AC

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

Preview Lab → · Contrast checker → · Palette generator →

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