#2C1D92#2C1D92

#2C1D92 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.178 H 277.4°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2C1D92
RGBrgb(44, 29, 146)
HSLhsl(248, 67%, 34%)
HSVhsv(248, 80%, 57%)
CMYKcmyk(69.9%, 80.1%, 0%, 42.7%)
CIE-LABlab(21.90, 42.80, -61.09)
CIE-LCHlch(21.90, 74.59, 305.02°)
OKLaboklab(34.57% 0.0229 -0.1765)
OKLCHoklch(34.57% 0.178 277.4)
XYZxyz(6.6647, 3.4889, 27.5108)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1D92 #83921D
analogous
#1D4992 #2C1D92 #671D92
triadic
#2C1D92 #922C1D #1D922C
tetradic
#2C1D92 #921D49 #83921D #1D9267
square
#2C1D92 #921D49 #83921D #1D9267
split-complementary
#2C1D92 #92671D #49921D
monochromatic
#0D092C #1D135F #2C1D92 #3B27C5 #604EDC

Accessibility & contrast

On white

12.37
#2C1D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C1D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1D92
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1D92#FFFFFF#000000##FFFFFF
##2C1D921.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.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: #2c1d92;
/* rgb */ color: rgb(44, 29, 146);
/* oklch */ color: oklch(34.6% 0.178 277.4);
Tailwind
colors: {
  custom: {
    50: '#755cb3',
    500: '#2c1d92',
    950: '#000000',
  },
}
SCSS
$custom: #2c1d92;
$custom-light: #755cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1d92",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 247.692,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3457,
    "c": 0.17799,
    "h": 277.4
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#2C1D92
secondary
#B0BE4C
accent
#EA3ED4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1D92

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

Preview Lab → · Contrast checker → · Palette generator →

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