#2D1E84#2D1E84

#2D1E84 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.159 H 279.9°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#2D1E84
RGBrgb(45, 30, 132)
HSLhsl(249, 63%, 32%)
HSVhsv(249, 77%, 52%)
CMYKcmyk(65.9%, 77.3%, 0%, 48.2%)
CIE-LABlab(20.64, 37.88, -54.42)
CIE-LCHlch(20.64, 66.31, 304.84°)
OKLaboklab(33.25% 0.0275 -0.1571)
OKLCHoklch(33.25% 0.159 279.9)
XYZxyz(5.7100, 3.1519, 22.1328)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1E84 #75841E
analogous
#1E4284 #2D1E84 #601E84
triadic
#2D1E84 #842D1E #1E842D
tetradic
#2D1E84 #841E42 #75841E #1E8460
square
#2D1E84 #841E42 #75841E #1E8460
split-complementary
#2D1E84 #84601E #42841E
monochromatic
#0B0720 #1C1352 #2D1E84 #3E29B6 #5C47D5

Accessibility & contrast

On white

12.88
#2D1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1E84
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1E84#FFFFFF#000000##FFFFFF
##2D1E841.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d1e84;
/* rgb */ color: rgb(45, 30, 132);
/* oklch */ color: oklch(33.3% 0.159 279.9);
Tailwind
colors: {
  custom: {
    50: '#725ca9',
    500: '#2d1e84',
    950: '#000000',
  },
}
SCSS
$custom: #2d1e84;
$custom-light: #725ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1e84",
  "rgb": {
    "r": 45,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 248.824,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33251,
    "c": 0.15946,
    "h": 279.9
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#2D1E84
secondary
#A6B747
accent
#E642CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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