#2B16C9#2B16C9

#2B16C9 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.4% C 0.245 H 271.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2B16C9
RGBrgb(43, 22, 201)
HSLhsl(247, 80%, 44%)
HSVhsv(247, 89%, 79%)
CMYKcmyk(78.6%, 89.1%, 0%, 21.2%)
CIE-LABlab(27.58, 61.74, -84.76)
CIE-LCHlch(27.58, 104.86, 306.07°)
OKLaboklab(40.37% 0.0077 -0.245)
OKLCHoklch(40.37% 0.245 271.8)
XYZxyz(11.8223, 5.3031, 55.6475)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B16C9 #B4C916
analogous
#165AC9 #2B16C9 #8416C9
triadic
#2B16C9 #C92B16 #16C92B
tetradic
#2B16C9 #C9165A #B4C916 #16C984
square
#2B16C9 #C9165A #B4C916 #16C984
split-complementary
#2B16C9 #C98416 #5AC916
monochromatic
#130A5B #1F1092 #2B16C9 #4933E9 #7A6BEF

Accessibility & contrast

On white

10.19
#2B16C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B16C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B16C9
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B16C9#FFFFFF#000000##FFFFFF
##2B16C91.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049CE
Deuteranopia (green-blind)
#0038C6
Tritanopia (blue-blind)
#005577
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b16c9;
/* rgb */ color: rgb(43, 22, 201);
/* oklch */ color: oklch(40.4% 0.245 271.8);
Tailwind
colors: {
  custom: {
    50: '#825edb',
    500: '#2b16c9',
    950: '#000000',
  },
}
SCSS
$custom: #2b16c9;
$custom-light: #825edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b16c9",
  "rgb": {
    "r": 43,
    "g": 22,
    "b": 201
  },
  "hsl": {
    "h": 247.039,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40369,
    "c": 0.24513,
    "h": 271.8
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#2B16C9
secondary
#C7D467
accent
#F731E0
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2B16C9

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

Preview Lab → · Contrast checker → · Palette generator →

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