#2D1D82#2D1D82

#2D1D82 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.158 H 280.5°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2D1D82
RGBrgb(45, 29, 130)
HSLhsl(250, 64%, 31%)
HSVhsv(250, 78%, 51%)
CMYKcmyk(65.4%, 77.7%, 0%, 49%)
CIE-LABlab(20.23, 37.79, -53.83)
CIE-LCHlch(20.23, 65.77, 305.07°)
OKLaboklab(32.9% 0.0287 -0.1553)
OKLCHoklch(32.9% 0.158 280.5)
XYZxyz(5.5495, 3.0479, 21.4106)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D82 #72821D
analogous
#1D3F82 #2D1D82 #5F1D82
triadic
#2D1D82 #822D1D #1D822D
tetradic
#2D1D82 #821D3F #72821D #1D825F
square
#2D1D82 #821D3F #72821D #1D825F
split-complementary
#2D1D82 #825F1D #3F821D
monochromatic
#0A071E #1C1250 #2D1D82 #3E28B4 #5B44D5

Accessibility & contrast

On white

13.05
#2D1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1D82
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D82#FFFFFF#000000##FFFFFF
##2D1D821.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1d82;
/* rgb */ color: rgb(45, 29, 130);
/* oklch */ color: oklch(32.9% 0.158 280.5);
Tailwind
colors: {
  custom: {
    50: '#725ba7',
    500: '#2d1d82',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d82;
$custom-light: #725ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d82",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 249.505,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.329,
    "c": 0.15796,
    "h": 280.5
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#2D1D82
secondary
#A3B546
accent
#E741CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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