#2D1D85#2D1D85

#2D1D85 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.162 H 279.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#2D1D85
RGBrgb(45, 29, 133)
HSLhsl(249, 64%, 32%)
HSVhsv(249, 78%, 52%)
CMYKcmyk(66.2%, 78.2%, 0%, 47.8%)
CIE-LABlab(20.56, 38.76, -55.19)
CIE-LCHlch(20.56, 67.44, 305.08°)
OKLaboklab(33.22% 0.0279 -0.1593)
OKLCHoklch(33.22% 0.162 279.9)
XYZxyz(5.7538, 3.1296, 22.4866)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D85 #75851D
analogous
#1D4185 #2D1D85 #611D85
triadic
#2D1D85 #852D1D #1D852D
tetradic
#2D1D85 #851D41 #75851D #1D8561
square
#2D1D85 #851D41 #75851D #1D8561
split-complementary
#2D1D85 #85611D #41851D
monochromatic
#0B0721 #1C1253 #2D1D85 #3E28B7 #5C46D7

Accessibility & contrast

On white

12.92
#2D1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1D85
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D85#FFFFFF#000000##FFFFFF
##2D1D851.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d1d85;
/* rgb */ color: rgb(45, 29, 133);
/* oklch */ color: oklch(33.2% 0.162 279.9);
Tailwind
colors: {
  custom: {
    50: '#735caa',
    500: '#2d1d85',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d85;
$custom-light: #735caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d85",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 249.231,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33222,
    "c": 0.16173,
    "h": 279.9
  },
  "luminance": 0.0313
}

Semantic roles & 50–950 ramp

primary
#2D1D85
secondary
#A6B846
accent
#E741CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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