#3822AA#3822AA

#3822AA is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.7% C 0.200 H 278.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3822AA
RGBrgb(56, 34, 170)
HSLhsl(250, 67%, 40%)
HSVhsv(250, 80%, 67%)
CMYKcmyk(67.1%, 80%, 0%, 33.3%)
CIE-LABlab(26.41, 48.89, -68.27)
CIE-LCHlch(26.41, 83.97, 305.61°)
OKLaboklab(38.74% 0.031 -0.1972)
OKLCHoklch(38.74% 0.2 278.9)
XYZxyz(9.4563, 4.8863, 38.4672)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822AA #94AA22
analogous
#2250AA #3822AA #7C22AA
triadic
#3822AA #AA3822 #22AA38
tetradic
#3822AA #AA2250 #94AA22 #22AA7C
square
#3822AA #AA2250 #94AA22 #22AA7C
split-complementary
#3822AA #AA7C22 #50AA22
monochromatic
#160E44 #271877 #3822AA #4D33D6 #7A66E0

Accessibility & contrast

On white

10.62
#3822AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3822AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3822AA#FFFFFF#000000##FFFFFF
##3822AA1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3822aa;
/* rgb */ color: rgb(56, 34, 170);
/* oklch */ color: oklch(38.7% 0.200 278.9);
Tailwind
colors: {
  custom: {
    50: '#7f61c5',
    500: '#3822aa',
    950: '#000000',
  },
}
SCSS
$custom: #3822aa;
$custom-light: #7f61c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3822aa",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 249.706,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.19959,
    "h": 278.9
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#3822AA
secondary
#B6C662
accent
#EA3ECE
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3822AA

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

Preview Lab → · Contrast checker → · Palette generator →

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