#3822AF#3822AF

#3822AF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.3% C 0.205 H 278.3°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3822AF
RGBrgb(56, 34, 175)
HSLhsl(249, 67%, 41%)
HSVhsv(249, 81%, 69%)
CMYKcmyk(68%, 80.6%, 0%, 31.4%)
CIE-LABlab(26.96, 50.39, -70.36)
CIE-LCHlch(26.96, 86.54, 305.61°)
OKLaboklab(39.28% 0.0296 -0.2032)
OKLCHoklch(39.28% 0.205 278.3)
XYZxyz(9.9383, 5.0791, 41.0058)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3822AF #99AF22
analogous
#2252AF #3822AF #7E22AF
triadic
#3822AF #AF3822 #22AF38
tetradic
#3822AF #AF2252 #99AF22 #22AF7E
square
#3822AF #AF2252 #99AF22 #22AF7E
split-complementary
#3822AF #AF7E22 #52AF22
monochromatic
#170E49 #28187C #3822AF #4F36D8 #7C69E2

Accessibility & contrast

On white

10.42
#3822AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3822AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3822AF#FFFFFF#000000##FFFFFF
##3822AF1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3822af;
/* rgb */ color: rgb(56, 34, 175);
/* oklch */ color: oklch(39.3% 0.205 278.3);
Tailwind
colors: {
  custom: {
    50: '#8062c8',
    500: '#3822af',
    950: '#000000',
  },
}
SCSS
$custom: #3822af;
$custom-light: #8062c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3822af",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 249.362,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39285,
    "c": 0.20539,
    "h": 278.3
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#3822AF
secondary
#B8C865
accent
#EA3DCF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3822AF

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

Preview Lab → · Contrast checker → · Palette generator →

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