#2C1C91#2C1C91

#2C1C91 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.178 H 277.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2C1C91
RGBrgb(44, 28, 145)
HSLhsl(248, 68%, 34%)
HSVhsv(248, 81%, 57%)
CMYKcmyk(69.7%, 80.7%, 0%, 43.1%)
CIE-LABlab(21.62, 42.99, -60.94)
CIE-LCHlch(21.62, 74.58, 305.20°)
OKLaboklab(34.34% 0.0237 -0.1761)
OKLCHoklch(34.34% 0.178 277.7)
XYZxyz(6.5631, 3.4097, 27.0948)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1C91 #81911C
analogous
#1C4791 #2C1C91 #671C91
triadic
#2C1C91 #912C1C #1C912C
tetradic
#2C1C91 #911C47 #81911C #1C9167
square
#2C1C91 #911C47 #81911C #1C9167
split-complementary
#2C1C91 #91671C #47911C
monochromatic
#0D082A #1C125E #2C1C91 #3C26C4 #5F4BDC

Accessibility & contrast

On white

12.49
#2C1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1C91
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1C91#FFFFFF#000000##FFFFFF
##2C1C911.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c1c91;
/* rgb */ color: rgb(44, 28, 145);
/* oklch */ color: oklch(34.3% 0.178 277.7);
Tailwind
colors: {
  custom: {
    50: '#755cb2',
    500: '#2c1c91',
    950: '#000000',
  },
}
SCSS
$custom: #2c1c91;
$custom-light: #755cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1c91",
  "rgb": {
    "r": 44,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 248.205,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34335,
    "c": 0.17766,
    "h": 277.7
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#2C1C91
secondary
#AFBE4A
accent
#EB3DD3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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