#2D1C96#2D1C96

#2D1C96 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.0% C 0.183 H 277.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#2D1C96
RGBrgb(45, 28, 150)
HSLhsl(248, 69%, 35%)
HSVhsv(248, 81%, 59%)
CMYKcmyk(70%, 81.3%, 0%, 41.2%)
CIE-LABlab(22.27, 44.65, -62.96)
CIE-LCHlch(22.27, 77.18, 305.34°)
OKLaboklab(34.98% 0.0237 -0.1819)
OKLCHoklch(34.98% 0.183 277.4)
XYZxyz(7.0007, 3.5898, 29.1722)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C96 #85961C
analogous
#1C4896 #2D1C96 #6A1C96
triadic
#2D1C96 #962D1C #1C962D
tetradic
#2D1C96 #961C48 #85961C #1C966A
square
#2D1C96 #961C48 #85961C #1C966A
split-complementary
#2D1C96 #966A1C #48961C
monochromatic
#0E092F #1E1262 #2D1C96 #3C26CA #624EDE

Accessibility & contrast

On white

12.22
#2D1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2D1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1C96
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C96#FFFFFF#000000##FFFFFF
##2D1C961.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d1c96;
/* rgb */ color: rgb(45, 28, 150);
/* oklch */ color: oklch(35.0% 0.183 277.4);
Tailwind
colors: {
  custom: {
    50: '#775cb6',
    500: '#2d1c96',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c96;
$custom-light: #775cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c96",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 248.361,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34976,
    "c": 0.18345,
    "h": 277.4
  },
  "luminance": 0.0359
}

Semantic roles & 50–950 ramp

primary
#2D1C96
secondary
#B0C14D
accent
#EB3CD3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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