#2D1AC9#2D1AC9

#2D1AC9 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.8% C 0.243 H 272.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2D1AC9
RGBrgb(45, 26, 201)
HSLhsl(247, 77%, 45%)
HSVhsv(247, 87%, 79%)
CMYKcmyk(77.6%, 87.1%, 0%, 21.2%)
CIE-LABlab(28.15, 60.48, -83.82)
CIE-LCHlch(28.15, 103.36, 305.81°)
OKLaboklab(40.78% 0.0096 -0.2423)
OKLCHoklch(40.78% 0.243 272.3)
XYZxyz(11.9907, 5.5124, 55.6791)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1AC9 #B6C91A
analogous
#1A5FC9 #2D1AC9 #841AC9
triadic
#2D1AC9 #C92D1A #1AC92D
tetradic
#2D1AC9 #C91A5F #B6C91A #1AC984
square
#2D1AC9 #C91A5F #B6C91A #1AC984
split-complementary
#2D1AC9 #C9841A #5FC91A
monochromatic
#150C5D #211393 #2D1AC9 #4D3BE6 #7E71ED

Accessibility & contrast

On white

9.99
#2D1AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D1AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1AC9
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1AC9#FFFFFF#000000##FFFFFF
##2D1AC91.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACE
Deuteranopia (green-blind)
#003AC6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d1ac9;
/* rgb */ color: rgb(45, 26, 201);
/* oklch */ color: oklch(40.8% 0.243 272.3);
Tailwind
colors: {
  custom: {
    50: '#835fdb',
    500: '#2d1ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ac9;
$custom-light: #835fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ac9",
  "rgb": {
    "r": 45,
    "g": 26,
    "b": 201
  },
  "hsl": {
    "h": 246.514,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.24252,
    "h": 272.3
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#2D1AC9
secondary
#C8D36C
accent
#F434DF
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2D1AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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