#3822B4#3822B4

#3822B4 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.211 H 277.7°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#3822B4
RGBrgb(56, 34, 180)
HSLhsl(249, 68%, 42%)
HSVhsv(249, 81%, 71%)
CMYKcmyk(68.9%, 81.1%, 0%, 29.4%)
CIE-LABlab(27.52, 51.88, -72.43)
CIE-LCHlch(27.52, 89.09, 305.61°)
OKLaboklab(39.83% 0.0281 -0.2093)
OKLCHoklch(39.83% 0.211 277.7)
XYZxyz(10.4385, 5.2792, 43.6400)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822B4 #9EB422
analogous
#2255B4 #3822B4 #8122B4
triadic
#3822B4 #B43822 #22B438
tetradic
#3822B4 #B42255 #9EB422 #22B481
square
#3822B4 #B42255 #9EB422 #22B481
split-complementary
#3822B4 #B48122 #55B422
monochromatic
#180F4D #281881 #3822B4 #523ADA #7F6DE3

Accessibility & contrast

On white

10.21
#3822B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3822B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3822B4#FFFFFF#000000##FFFFFF
##3822B41.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003BB2
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3822b4;
/* rgb */ color: rgb(56, 34, 180);
/* oklch */ color: oklch(39.8% 0.211 277.7);
Tailwind
colors: {
  custom: {
    50: '#8162cc',
    500: '#3822b4',
    950: '#000000',
  },
}
SCSS
$custom: #3822b4;
$custom-light: #8162cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3822b4",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 249.041,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39834,
    "c": 0.21115,
    "h": 277.7
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#3822B4
secondary
#BBCA68
accent
#EB3DD1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3822B4

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

Preview Lab → · Contrast checker → · Palette generator →

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