#2D1C86#2D1C86

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

Color values

HEX#2D1C86
RGBrgb(45, 28, 134)
HSLhsl(250, 65%, 32%)
HSVhsv(250, 79%, 53%)
CMYKcmyk(66.4%, 79.1%, 0%, 47.5%)
CIE-LABlab(20.48, 39.61, -55.95)
CIE-LCHlch(20.48, 68.56, 305.30°)
OKLaboklab(33.2% 0.0282 -0.1615)
OKLCHoklch(33.2% 0.164 279.9)
XYZxyz(5.7991, 3.1092, 22.8442)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C86 #75861C
analogous
#1C4086 #2D1C86 #621C86
triadic
#2D1C86 #862D1C #1C862D
tetradic
#2D1C86 #861C40 #75861C #1C8662
square
#2D1C86 #861C40 #75861C #1C8662
split-complementary
#2D1C86 #86621C #40861C
monochromatic
#0B0721 #1C1153 #2D1C86 #3E27B9 #5C44D8

Accessibility & contrast

On white

12.95
#2D1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1C86
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C86#FFFFFF#000000##FFFFFF
##2D1C861.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d1c86;
/* rgb */ color: rgb(45, 28, 134);
/* oklch */ color: oklch(33.2% 0.164 279.9);
Tailwind
colors: {
  custom: {
    50: '#735baa',
    500: '#2d1c86',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c86;
$custom-light: #735baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c86",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 249.623,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33199,
    "c": 0.16397,
    "h": 279.9
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#2D1C86
secondary
#A6B945
accent
#E83FCD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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