#2D1CA9#2D1CA9

#2D1CA9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.2% C 0.206 H 275.1°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2D1CA9
RGBrgb(45, 28, 169)
HSLhsl(247, 72%, 39%)
HSVhsv(247, 83%, 66%)
CMYKcmyk(73.4%, 83.4%, 0%, 33.7%)
CIE-LABlab(24.49, 50.44, -70.87)
CIE-LCHlch(24.49, 86.99, 305.44°)
OKLaboklab(37.16% 0.0182 -0.2049)
OKLCHoklch(37.16% 0.206 275.1)
XYZxyz(8.6565, 4.2521, 37.8930)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1CA9 #98A91C
analogous
#1C51A9 #2D1CA9 #731CA9
triadic
#2D1CA9 #A92D1C #1CA92D
tetradic
#2D1CA9 #A91C51 #98A91C #1CA973
square
#2D1CA9 #A91C51 #98A91C #1CA973
split-complementary
#2D1CA9 #A9731C #51A91C
monochromatic
#110B40 #1F1374 #2D1CA9 #3D27DB #6C5BE4

Accessibility & contrast

On white

11.35
#2D1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1CA9
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1CA9#FFFFFF#000000##FFFFFF
##2D1CA91.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0034A7
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d1ca9;
/* rgb */ color: rgb(45, 28, 169);
/* oklch */ color: oklch(37.2% 0.206 275.1);
Tailwind
colors: {
  custom: {
    50: '#7b5ec4',
    500: '#2d1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ca9;
$custom-light: #7b5ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ca9",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 247.234,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37159,
    "c": 0.2057,
    "h": 275.1
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#2D1CA9
secondary
#BAC859
accent
#EE39D9
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2D1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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