#2D1D92#2D1D92

#2D1D92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.178 H 277.9°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#2D1D92
RGBrgb(45, 29, 146)
HSLhsl(248, 67%, 34%)
HSVhsv(248, 80%, 57%)
CMYKcmyk(69.2%, 80.1%, 0%, 42.7%)
CIE-LABlab(21.99, 42.90, -60.95)
CIE-LCHlch(21.99, 74.53, 305.14°)
OKLaboklab(34.65% 0.0244 -0.1761)
OKLCHoklch(34.65% 0.178 277.9)
XYZxyz(6.7082, 3.5114, 27.5128)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1D92 #82921D
analogous
#1D4892 #2D1D92 #681D92
triadic
#2D1D92 #922D1D #1D922D
tetradic
#2D1D92 #921D48 #82921D #1D9268
square
#2D1D92 #921D48 #82921D #1D9268
split-complementary
#2D1D92 #92681D #48921D
monochromatic
#0E092C #1D135F #2D1D92 #3D27C5 #614EDC

Accessibility & contrast

On white

12.34
#2D1D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D1D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1D92
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1D92#FFFFFF#000000##FFFFFF
##2D1D921.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d1d92;
/* rgb */ color: rgb(45, 29, 146);
/* oklch */ color: oklch(34.6% 0.178 277.9);
Tailwind
colors: {
  custom: {
    50: '#765cb3',
    500: '#2d1d92',
    950: '#000000',
  },
}
SCSS
$custom: #2d1d92;
$custom-light: #765cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1d92",
  "rgb": {
    "r": 45,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 248.205,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34647,
    "c": 0.17776,
    "h": 277.9
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#2D1D92
secondary
#AFBE4C
accent
#EA3ED2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1D92

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

Preview Lab → · Contrast checker → · Palette generator →

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