#2D1CAD#2D1CAD

#2D1CAD is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.6% C 0.210 H 274.6°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2D1CAD
RGBrgb(45, 28, 173)
HSLhsl(247, 72%, 39%)
HSVhsv(247, 84%, 68%)
CMYKcmyk(74%, 83.8%, 0%, 32.2%)
CIE-LABlab(24.97, 51.64, -72.49)
CIE-LCHlch(24.97, 89.00, 305.46°)
OKLaboklab(37.63% 0.017 -0.2096)
OKLCHoklch(37.63% 0.21 274.6)
XYZxyz(9.0378, 4.4046, 39.9009)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1CAD #9CAD1C
analogous
#1C54AD #2D1CAD #751CAD
triadic
#2D1CAD #AD2D1C #1CAD2D
tetradic
#2D1CAD #AD1C54 #9CAD1C #1CAD75
square
#2D1CAD #AD1C54 #9CAD1C #1CAD75
split-complementary
#2D1CAD #AD751C #54AD1C
monochromatic
#120B44 #1F1378 #2D1CAD #3F2ADC #6E5EE5

Accessibility & contrast

On white

11.16
#2D1CAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D1CAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1CAD
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1CAD#FFFFFF#000000##FFFFFF
##2D1CAD1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041B1
Deuteranopia (green-blind)
#0035AB
Tritanopia (blue-blind)
#004B67
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d1cad;
/* rgb */ color: rgb(45, 28, 173);
/* oklch */ color: oklch(37.6% 0.210 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c5ec7',
    500: '#2d1cad',
    950: '#000000',
  },
}
SCSS
$custom: #2d1cad;
$custom-light: #7c5ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1cad",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 173
  },
  "hsl": {
    "h": 247.034,
    "s": 72.139,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37627,
    "c": 0.21027,
    "h": 274.6
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#2D1CAD
secondary
#BCC95C
accent
#EF39DA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D1CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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