#2B16A0#2B16A0

#2B16A0 is a dark, highly saturated blue. Relative luminance 0.036; OKLCH L 35.4% C 0.200 H 275.7°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2B16A0
RGBrgb(43, 22, 160)
HSLhsl(249, 76%, 36%)
HSVhsv(249, 86%, 63%)
CMYKcmyk(73.1%, 86.3%, 0%, 37.3%)
CIE-LABlab(22.39, 50.18, -68.89)
CIE-LCHlch(22.39, 85.23, 306.07°)
OKLaboklab(35.37% 0.02 -0.1991)
OKLCHoklch(35.37% 0.2 275.7)
XYZxyz(7.6263, 3.6247, 33.5486)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B16A0 #8BA016
analogous
#1646A0 #2B16A0 #7016A0
triadic
#2B16A0 #A02B16 #16A02B
tetradic
#2B16A0 #A01646 #8BA016 #16A070
square
#2B16A0 #A01646 #8BA016 #16A070
split-complementary
#2B16A0 #A07016 #46A016
monochromatic
#0E0734 #1D0F6A #2B16A0 #391DD6 #624AE6

Accessibility & contrast

On white

12.17
#2B16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B16A0
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B16A0#FFFFFF#000000##FFFFFF
##2B16A01.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002F9E
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b16a0;
/* rgb */ color: rgb(43, 22, 160);
/* oklch */ color: oklch(35.4% 0.200 275.7);
Tailwind
colors: {
  custom: {
    50: '#795abe',
    500: '#2b16a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b16a0;
$custom-light: #795abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b16a0",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 249.13,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35366,
    "c": 0.20008,
    "h": 275.7
  },
  "luminance": 0.03625
}

Semantic roles & 50–950 ramp

primary
#2B16A0
secondary
#B5C84A
accent
#F235D6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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