#2D1CA1#2D1CA1

#2D1CA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.2% C 0.196 H 276.0°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2D1CA1
RGBrgb(45, 28, 161)
HSLhsl(248, 70%, 37%)
HSVhsv(248, 83%, 63%)
CMYKcmyk(72%, 82.6%, 0%, 36.9%)
CIE-LABlab(23.54, 48.03, -67.59)
CIE-LCHlch(23.54, 82.92, 305.40°)
OKLaboklab(36.23% 0.0205 -0.1954)
OKLCHoklch(36.23% 0.196 276)
XYZxyz(7.9284, 3.9608, 34.0580)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1CA1 #90A11C
analogous
#1C4EA1 #2D1CA1 #701CA1
triadic
#2D1CA1 #A12D1C #1CA12D
tetradic
#2D1CA1 #A11C4E #90A11C #1CA170
square
#2D1CA1 #A11C4E #90A11C #1CA170
split-complementary
#2D1CA1 #A1701C #4EA11C
monochromatic
#100A39 #1E136D #2D1CA1 #3C25D5 #6856E2

Accessibility & contrast

On white

11.72
#2D1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2D1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1CA1
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1CA1#FFFFFF#000000##FFFFFF
##2D1CA11.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d1ca1;
/* rgb */ color: rgb(45, 28, 161);
/* oklch */ color: oklch(36.2% 0.196 276.0);
Tailwind
colors: {
  custom: {
    50: '#795dbe',
    500: '#2d1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2d1ca1;
$custom-light: #795dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1ca1",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 247.669,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36232,
    "c": 0.19643,
    "h": 276
  },
  "luminance": 0.03962
}

Semantic roles & 50–950 ramp

primary
#2D1CA1
secondary
#B6C554
accent
#ED3BD6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2D1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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