#2D1B92#2D1B92

#2D1B92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.180 H 278.1°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2D1B92
RGBrgb(45, 27, 146)
HSLhsl(249, 69%, 34%)
HSVhsv(249, 82%, 57%)
CMYKcmyk(69.2%, 81.5%, 0%, 42.7%)
CIE-LABlab(21.64, 43.90, -61.52)
CIE-LCHlch(21.64, 75.58, 305.51°)
OKLaboklab(34.41% 0.0253 -0.1777)
OKLCHoklch(34.41% 0.18 278.1)
XYZxyz(6.6608, 3.4165, 27.4970)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1B92 #80921B
analogous
#1B4592 #2D1B92 #691B92
triadic
#2D1B92 #922D1B #1B922D
tetradic
#2D1B92 #921B45 #80921B #1B9269
square
#2D1B92 #921B45 #80921B #1B9269
split-complementary
#2D1B92 #92691B #45921B
monochromatic
#0D082B #1D115E #2D1B92 #3D25C6 #604ADE

Accessibility & contrast

On white

12.47
#2D1B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D1B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1B92
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1B92#FFFFFF#000000##FFFFFF
##2D1B921.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d1b92;
/* rgb */ color: rgb(45, 27, 146);
/* oklch */ color: oklch(34.4% 0.180 278.1);
Tailwind
colors: {
  custom: {
    50: '#765bb3',
    500: '#2d1b92',
    950: '#000000',
  },
}
SCSS
$custom: #2d1b92;
$custom-light: #765bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1b92",
  "rgb": {
    "r": 45,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 249.076,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34407,
    "c": 0.17952,
    "h": 278.1
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#2D1B92
secondary
#AEBF49
accent
#EC3CD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1B92

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

Preview Lab → · Contrast checker → · Palette generator →

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