#2D16A1#2D16A1

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

Color values

HEX#2D16A1
RGBrgb(45, 22, 161)
HSLhsl(250, 76%, 36%)
HSVhsv(250, 86%, 63%)
CMYKcmyk(72%, 86.3%, 0%, 36.9%)
CIE-LABlab(22.67, 50.61, -69.04)
CIE-LCHlch(22.67, 85.60, 306.24°)
OKLaboklab(35.63% 0.0226 -0.1995)
OKLCHoklch(35.63% 0.201 276.5)
XYZxyz(7.8000, 3.7042, 34.0152)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D16A1 #8AA116
analogous
#1644A1 #2D16A1 #7216A1
triadic
#2D16A1 #A12D16 #16A12D
tetradic
#2D16A1 #A11644 #8AA116 #16A172
square
#2D16A1 #A11644 #8AA116 #16A172
split-complementary
#2D16A1 #A17216 #44A116
monochromatic
#0F0735 #1E0F6B #2D16A1 #3C1DD7 #654BE6

Accessibility & contrast

On white

12.06
#2D16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D16A1
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D16A1#FFFFFF#000000##FFFFFF
##2D16A11.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d16a1;
/* rgb */ color: rgb(45, 22, 161);
/* oklch */ color: oklch(35.6% 0.201 276.5);
Tailwind
colors: {
  custom: {
    50: '#7a5abe',
    500: '#2d16a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d16a1;
$custom-light: #7a5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d16a1",
  "rgb": {
    "r": 45,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 249.928,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35632,
    "c": 0.20073,
    "h": 276.5
  },
  "luminance": 0.03705
}

Semantic roles & 50–950 ramp

primary
#2D16A1
secondary
#B3C84B
accent
#F335D3
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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