#2D1C92#2D1C92

#2D1C92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.179 H 278.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2D1C92
RGBrgb(45, 28, 146)
HSLhsl(249, 68%, 34%)
HSVhsv(249, 81%, 57%)
CMYKcmyk(69.2%, 80.8%, 0%, 42.7%)
CIE-LABlab(21.81, 43.41, -61.24)
CIE-LCHlch(21.81, 75.06, 305.33°)
OKLaboklab(34.53% 0.0249 -0.1769)
OKLCHoklch(34.53% 0.179 278)
XYZxyz(6.6841, 3.4631, 27.5048)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C92 #81921C
analogous
#1C4692 #2D1C92 #681C92
triadic
#2D1C92 #922D1C #1C922D
tetradic
#2D1C92 #921C46 #81921C #1C9268
square
#2D1C92 #921C46 #81921C #1C9268
split-complementary
#2D1C92 #92681C #46921C
monochromatic
#0D082B #1D125F #2D1C92 #3D26C5 #614CDD

Accessibility & contrast

On white

12.41
#2D1C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2D1C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1C92
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C92#FFFFFF#000000##FFFFFF
##2D1C921.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d1c92;
/* rgb */ color: rgb(45, 28, 146);
/* oklch */ color: oklch(34.5% 0.179 278.0);
Tailwind
colors: {
  custom: {
    50: '#765cb3',
    500: '#2d1c92',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c92;
$custom-light: #765cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c92",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 248.644,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34526,
    "c": 0.17865,
    "h": 278
  },
  "luminance": 0.03464
}

Semantic roles & 50–950 ramp

primary
#2D1C92
secondary
#AEBF4B
accent
#EB3DD2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1C92

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

Preview Lab → · Contrast checker → · Palette generator →

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