#3B22BB#3B22BB

#3B22BB is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.218 H 278.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3B22BB
RGBrgb(59, 34, 187)
HSLhsl(250, 69%, 43%)
HSVhsv(250, 82%, 73%)
CMYKcmyk(68.4%, 81.8%, 0%, 26.7%)
CIE-LABlab(28.54, 54.18, -74.89)
CIE-LCHlch(28.54, 92.44, 305.89°)
OKLaboklab(40.83% 0.0304 -0.2163)
OKLCHoklch(40.83% 0.218 278)
XYZxyz(11.3424, 5.6607, 47.4990)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B22BB #A2BB22
analogous
#2255BB #3B22BB #8722BB
triadic
#3B22BB #BB3B22 #22BB3B
tetradic
#3B22BB #BB2255 #A2BB22 #22BB87
square
#3B22BB #BB2255 #A2BB22 #22BB87
split-complementary
#3B22BB #BB8722 #55BB22
monochromatic
#1A0F53 #2B1987 #3B22BB #583EDC #8572E5

Accessibility & contrast

On white

9.85
#3B22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3B22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B22BB
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B22BB#FFFFFF#000000##FFFFFF
##3B22BB1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b22bb;
/* rgb */ color: rgb(59, 34, 187);
/* oklch */ color: oklch(40.8% 0.218 278.0);
Tailwind
colors: {
  custom: {
    50: '#8463d1',
    500: '#3b22bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b22bb;
$custom-light: #8463d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b22bb",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 249.804,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40832,
    "c": 0.21846,
    "h": 278
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#3B22BB
secondary
#BDCC6D
accent
#EC3CCF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3B22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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