#3822A7#3822A7

#3822A7 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.196 H 279.4°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3822A7
RGBrgb(56, 34, 167)
HSLhsl(250, 66%, 39%)
HSVhsv(250, 80%, 65%)
CMYKcmyk(66.5%, 79.6%, 0%, 34.5%)
CIE-LABlab(26.08, 47.99, -67.00)
CIE-LCHlch(26.08, 82.41, 305.61°)
OKLaboklab(38.42% 0.0319 -0.1935)
OKLCHoklch(38.42% 0.196 279.4)
XYZxyz(9.1757, 4.7741, 36.9897)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822A7 #91A722
analogous
#224FA7 #3822A7 #7B22A7
triadic
#3822A7 #A73822 #22A738
tetradic
#3822A7 #A7224F #91A722 #22A77B
square
#3822A7 #A7224F #91A722 #22A77B
split-complementary
#3822A7 #A77B22 #4FA722
monochromatic
#160D41 #271874 #3822A7 #4C31D5 #7864DF

Accessibility & contrast

On white

10.74
#3822A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3822A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3822A7
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3822A7#FFFFFF#000000##FFFFFF
##3822A71.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3822a7;
/* rgb */ color: rgb(56, 34, 167);
/* oklch */ color: oklch(38.4% 0.196 279.4);
Tailwind
colors: {
  custom: {
    50: '#7f61c2',
    500: '#3822a7',
    950: '#000000',
  },
}
SCSS
$custom: #3822a7;
$custom-light: #7f61c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3822a7",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 249.925,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38417,
    "c": 0.19607,
    "h": 279.4
  },
  "luminance": 0.04775
}

Semantic roles & 50–950 ramp

primary
#3822A7
secondary
#B4C560
accent
#E93FCD
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #3822A7

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

Preview Lab → · Contrast checker → · Palette generator →

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