#2A16C9#2A16C9

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

Color values

HEX#2A16C9
RGBrgb(42, 22, 201)
HSLhsl(247, 80%, 44%)
HSVhsv(247, 89%, 79%)
CMYKcmyk(79.1%, 89.1%, 0%, 21.2%)
CIE-LABlab(27.52, 61.70, -84.86)
CIE-LCHlch(27.52, 104.92, 306.02°)
OKLaboklab(40.31% 0.0065 -0.2453)
OKLCHoklch(40.31% 0.245 271.5)
XYZxyz(11.7808, 5.2818, 55.6456)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A16C9 #B5C916
analogous
#165BC9 #2A16C9 #8316C9
triadic
#2A16C9 #C92A16 #16C92A
tetradic
#2A16C9 #C9165B #B5C916 #16C983
square
#2A16C9 #C9165B #B5C916 #16C983
split-complementary
#2A16C9 #C98316 #5BC916
monochromatic
#130A5B #1E1092 #2A16C9 #4833E9 #796BEF

Accessibility & contrast

On white

10.21
#2A16C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A16C9
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A16C9#FFFFFF#000000##FFFFFF
##2A16C91.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.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: #2a16c9;
/* rgb */ color: rgb(42, 22, 201);
/* oklch */ color: oklch(40.3% 0.245 271.5);
Tailwind
colors: {
  custom: {
    50: '#825edb',
    500: '#2a16c9',
    950: '#000000',
  },
}
SCSS
$custom: #2a16c9;
$custom-light: #825edb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a16c9",
  "rgb": {
    "r": 42,
    "g": 22,
    "b": 201
  },
  "hsl": {
    "h": 246.704,
    "s": 80.269,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40313,
    "c": 0.2454,
    "h": 271.5
  },
  "luminance": 0.05283
}

Semantic roles & 50–950 ramp

primary
#2A16C9
secondary
#C8D467
accent
#F731E1
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2A16C9

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

Preview Lab → · Contrast checker → · Palette generator →

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