#2D1D84#2D1D84

#2D1D84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.160 H 280.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2D1D84
RGBrgb(45, 29, 132)
HSLhsl(249, 64%, 32%)
HSVhsv(249, 78%, 52%)
CMYKcmyk(65.9%, 78%, 0%, 48.2%)
CIE-LABlab(20.45, 38.44, -54.74)
CIE-LCHlch(20.45, 66.89, 305.08°)
OKLaboklab(33.12% 0.0282 -0.158)
OKLCHoklch(33.12% 0.16 280.1)
XYZxyz(5.6851, 3.1021, 22.1245)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D84 #74841D
analogous
#1D4184 #2D1D84 #611D84
triadic
#2D1D84 #842D1D #1D842D
tetradic
#2D1D84 #841D41 #74841D #1D8461
square
#2D1D84 #841D41 #74841D #1D8461
split-complementary
#2D1D84 #84611D #41841D
monochromatic
#0B0720 #1C1252 #2D1D84 #3E28B6 #5C45D6

Accessibility & contrast

On white

12.96
#2D1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2D1D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1D84
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D84#FFFFFF#000000##FFFFFF
##2D1D841.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1d84;
/* rgb */ color: rgb(45, 29, 132);
/* oklch */ color: oklch(33.1% 0.160 280.1);
Tailwind
colors: {
  custom: {
    50: '#735ca9',
    500: '#2d1d84',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d84;
$custom-light: #735ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d84",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 249.32,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33115,
    "c": 0.16048,
    "h": 280.1
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#2D1D84
secondary
#A5B746
accent
#E741CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1D84

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

Preview Lab → · Contrast checker → · Palette generator →

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