#3A22BD#3A22BD

#3A22BD is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 41.0% C 0.221 H 277.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3A22BD
RGBrgb(58, 34, 189)
HSLhsl(249, 70%, 44%)
HSVhsv(249, 82%, 74%)
CMYKcmyk(69.3%, 82%, 0%, 25.9%)
CIE-LABlab(28.69, 54.68, -75.83)
CIE-LCHlch(28.69, 93.49, 305.79°)
OKLaboklab(40.98% 0.0283 -0.2191)
OKLCHoklch(40.98% 0.221 277.4)
XYZxyz(11.4993, 5.7167, 48.6317)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A22BD #A5BD22
analogous
#2257BD #3A22BD #8722BD
triadic
#3A22BD #BD3A22 #22BD3A
tetradic
#3A22BD #BD2257 #A5BD22 #22BD87
square
#3A22BD #BD2257 #A5BD22 #22BD87
split-complementary
#3A22BD #BD8722 #57BD22
monochromatic
#1A0F55 #2A1989 #3A22BD #5840DD #8573E6

Accessibility & contrast

On white

9.80
#3A22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3A22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A22BD
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A22BD#FFFFFF#000000##FFFFFF
##3A22BD1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC1
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a22bd;
/* rgb */ color: rgb(58, 34, 189);
/* oklch */ color: oklch(41.0% 0.221 277.4);
Tailwind
colors: {
  custom: {
    50: '#8463d2',
    500: '#3a22bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a22bd;
$custom-light: #8463d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a22bd",
  "rgb": {
    "r": 58,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 249.29,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.22092,
    "h": 277.4
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#3A22BD
secondary
#BECD6E
accent
#EC3BD1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3A22BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3A22BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva