#3822A9#3822A9

#3822A9 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.6% C 0.198 H 279.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3822A9
RGBrgb(56, 34, 169)
HSLhsl(250, 67%, 40%)
HSVhsv(250, 80%, 66%)
CMYKcmyk(66.9%, 79.9%, 0%, 33.7%)
CIE-LABlab(26.30, 48.59, -67.85)
CIE-LCHlch(26.30, 83.45, 305.61°)
OKLaboklab(38.63% 0.0313 -0.1959)
OKLCHoklch(38.63% 0.198 279.1)
XYZxyz(9.3621, 4.8486, 37.9709)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822A9 #93A922
analogous
#224FA9 #3822A9 #7C22A9
triadic
#3822A9 #A93822 #22A938
tetradic
#3822A9 #A9224F #93A922 #22A97C
square
#3822A9 #A9224F #93A922 #22A97C
split-complementary
#3822A9 #A97C22 #4FA922
monochromatic
#160D43 #271876 #3822A9 #4D32D6 #7965E0

Accessibility & contrast

On white

10.66
#3822A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3822A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3822A9
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3822A9#FFFFFF#000000##FFFFFF
##3822A91.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3822a9;
/* rgb */ color: rgb(56, 34, 169);
/* oklch */ color: oklch(38.6% 0.198 279.1);
Tailwind
colors: {
  custom: {
    50: '#7f61c4',
    500: '#3822a9',
    950: '#000000',
  },
}
SCSS
$custom: #3822a9;
$custom-light: #7f61c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3822a9",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 249.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38633,
    "c": 0.19842,
    "h": 279.1
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#3822A9
secondary
#B5C561
accent
#E93ECE
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3822A9

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

Preview Lab → · Contrast checker → · Palette generator →

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