#2B16A1#2B16A1

#2B16A1 is a dark, highly saturated blue. Relative luminance 0.037; OKLCH L 35.5% C 0.201 H 275.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#2B16A1
RGBrgb(43, 22, 161)
HSLhsl(249, 76%, 36%)
HSVhsv(249, 86%, 63%)
CMYKcmyk(73.3%, 86.3%, 0%, 36.9%)
CIE-LABlab(22.51, 50.47, -69.30)
CIE-LCHlch(22.51, 85.73, 306.07°)
OKLaboklab(35.49% 0.0197 -0.2003)
OKLCHoklch(35.49% 0.201 275.6)
XYZxyz(7.7141, 3.6599, 34.0112)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B16A1 #8CA116
analogous
#1646A1 #2B16A1 #7016A1
triadic
#2B16A1 #A12B16 #16A12B
tetradic
#2B16A1 #A11646 #8CA116 #16A170
square
#2B16A1 #A11646 #8CA116 #16A170
split-complementary
#2B16A1 #A17016 #46A116
monochromatic
#0E0735 #1D0F6B #2B16A1 #391DD7 #624BE6

Accessibility & contrast

On white

12.12
#2B16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B16A1
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B16A1#FFFFFF#000000##FFFFFF
##2B16A11.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#00309F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b16a1;
/* rgb */ color: rgb(43, 22, 161);
/* oklch */ color: oklch(35.5% 0.201 275.6);
Tailwind
colors: {
  custom: {
    50: '#795abe',
    500: '#2b16a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b16a1;
$custom-light: #795abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b16a1",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 249.065,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35486,
    "c": 0.20122,
    "h": 275.6
  },
  "luminance": 0.03661
}

Semantic roles & 50–950 ramp

primary
#2B16A1
secondary
#B5C84B
accent
#F335D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B16A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2B16A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva