#2D1C88#2D1C88

#2D1C88 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.166 H 279.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2D1C88
RGBrgb(45, 28, 136)
HSLhsl(249, 66%, 32%)
HSVhsv(249, 79%, 53%)
CMYKcmyk(66.9%, 79.4%, 0%, 46.7%)
CIE-LABlab(20.69, 40.25, -56.85)
CIE-LCHlch(20.69, 69.66, 305.30°)
OKLaboklab(33.42% 0.0277 -0.1641)
OKLCHoklch(33.42% 0.166 279.6)
XYZxyz(5.9400, 3.1655, 23.5858)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1C88 #77881C
analogous
#1C4188 #2D1C88 #631C88
triadic
#2D1C88 #882D1C #1C882D
tetradic
#2D1C88 #881C41 #77881C #1C8863
square
#2D1C88 #881C41 #77881C #1C8863
split-complementary
#2D1C88 #88631C #41881C
monochromatic
#0B0722 #1C1255 #2D1C88 #3E26BB #5D46D9

Accessibility & contrast

On white

12.86
#2D1C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D1C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D1C88
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1C88#FFFFFF#000000##FFFFFF
##2D1C881.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d1c88;
/* rgb */ color: rgb(45, 28, 136);
/* oklch */ color: oklch(33.4% 0.166 279.6);
Tailwind
colors: {
  custom: {
    50: '#745bac',
    500: '#2d1c88',
    950: '#000000',
  },
}
SCSS
$custom: #2d1c88;
$custom-light: #745bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1c88",
  "rgb": {
    "r": 45,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 249.444,
    "s": 65.854,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33417,
    "c": 0.16645,
    "h": 279.6
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#2D1C88
secondary
#A8BA45
accent
#E93FCE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D1C88

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

Preview Lab → · Contrast checker → · Palette generator →

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