#2D1D83#2D1D83

#2D1D83 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.159 H 280.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#2D1D83
RGBrgb(45, 29, 131)
HSLhsl(249, 64%, 31%)
HSVhsv(249, 78%, 51%)
CMYKcmyk(65.6%, 77.9%, 0%, 48.6%)
CIE-LABlab(20.34, 38.11, -54.28)
CIE-LCHlch(20.34, 66.33, 305.07°)
OKLaboklab(33.01% 0.0284 -0.1567)
OKLCHoklch(33.01% 0.159 280.3)
XYZxyz(5.6170, 3.0749, 21.7658)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D83 #73831D
analogous
#1D4083 #2D1D83 #601D83
triadic
#2D1D83 #832D1D #1D832D
tetradic
#2D1D83 #831D40 #73831D #1D8360
square
#2D1D83 #831D40 #73831D #1D8360
split-complementary
#2D1D83 #83601D #40831D
monochromatic
#0B071F #1C1251 #2D1D83 #3E28B5 #5B45D6

Accessibility & contrast

On white

13.00
#2D1D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1D83
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D83#FFFFFF#000000##FFFFFF
##2D1D831.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1d83;
/* rgb */ color: rgb(45, 29, 131);
/* oklch */ color: oklch(33.0% 0.159 280.3);
Tailwind
colors: {
  custom: {
    50: '#725ca8',
    500: '#2d1d83',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d83;
$custom-light: #725ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d83",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 131
  },
  "hsl": {
    "h": 249.412,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33007,
    "c": 0.15923,
    "h": 280.3
  },
  "luminance": 0.03075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D1D83

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

Preview Lab → · Contrast checker → · Palette generator →

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