#2A16A0#2A16A0

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

Color values

HEX#2A16A0
RGBrgb(42, 22, 160)
HSLhsl(249, 76%, 36%)
HSVhsv(249, 86%, 63%)
CMYKcmyk(73.8%, 86.3%, 0%, 37.3%)
CIE-LABlab(22.31, 50.12, -69.02)
CIE-LCHlch(22.31, 85.30, 305.98°)
OKLaboklab(35.3% 0.0186 -0.1995)
OKLCHoklch(35.3% 0.2 275.3)
XYZxyz(7.5848, 3.6034, 33.5467)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A16A0 #8CA016
analogous
#1647A0 #2A16A0 #6F16A0
triadic
#2A16A0 #A02A16 #16A02A
tetradic
#2A16A0 #A01647 #8CA016 #16A06F
square
#2A16A0 #A01647 #8CA016 #16A06F
split-complementary
#2A16A0 #A06F16 #47A016
monochromatic
#0E0734 #1C0F6A #2A16A0 #381DD6 #614AE6

Accessibility & contrast

On white

12.20
#2A16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2A16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A16A0
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A16A0#FFFFFF#000000##FFFFFF
##2A16A01.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a16a0;
/* rgb */ color: rgb(42, 22, 160);
/* oklch */ color: oklch(35.3% 0.200 275.3);
Tailwind
colors: {
  custom: {
    50: '#785abe',
    500: '#2a16a0',
    950: '#000000',
  },
}
SCSS
$custom: #2a16a0;
$custom-light: #785abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2a16a0",
  "rgb": {
    "r": 42,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 248.696,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.20033,
    "h": 275.3
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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