#3822B3#3822B3

#3822B3 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.7% C 0.210 H 277.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3822B3
RGBrgb(56, 34, 179)
HSLhsl(249, 68%, 42%)
HSVhsv(249, 81%, 70%)
CMYKcmyk(68.7%, 81%, 0%, 29.8%)
CIE-LABlab(27.40, 51.58, -72.02)
CIE-LCHlch(27.40, 88.58, 305.61°)
OKLaboklab(39.72% 0.0284 -0.2081)
OKLCHoklch(39.72% 0.21 277.8)
XYZxyz(10.3370, 5.2386, 43.1055)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822B3 #9DB322
analogous
#2255B3 #3822B3 #8022B3
triadic
#3822B3 #B33822 #22B338
tetradic
#3822B3 #B32255 #9DB322 #22B380
square
#3822B3 #B32255 #9DB322 #22B380
split-complementary
#3822B3 #B38022 #55B322
monochromatic
#180E4C #281880 #3822B3 #5139D9 #7E6CE3

Accessibility & contrast

On white

10.25
#3822B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3822B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3822B3#FFFFFF#000000##FFFFFF
##3822B31.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3822b3;
/* rgb */ color: rgb(56, 34, 179);
/* oklch */ color: oklch(39.7% 0.210 277.8);
Tailwind
colors: {
  custom: {
    50: '#8162cb',
    500: '#3822b3',
    950: '#000000',
  },
}
SCSS
$custom: #3822b3;
$custom-light: #8162cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3822b3",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 249.103,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39724,
    "c": 0.21,
    "h": 277.8
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#3822B3
secondary
#BAC968
accent
#EB3DD1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3822B3

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

Preview Lab → · Contrast checker → · Palette generator →

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