#2C1992#2C1992

#2C1992 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.181 H 277.9°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#2C1992
RGBrgb(44, 25, 146)
HSLhsl(249, 71%, 34%)
HSVhsv(249, 83%, 57%)
CMYKcmyk(69.9%, 82.9%, 0%, 42.7%)
CIE-LABlab(21.23, 44.77, -62.20)
CIE-LCHlch(21.23, 76.64, 305.74°)
OKLaboklab(34.1% 0.0248 -0.1797)
OKLCHoklch(34.1% 0.181 277.9)
XYZxyz(6.5730, 3.3055, 27.4802)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1992 #7F9219
analogous
#194392 #2C1992 #681992
triadic
#2C1992 #922C19 #19922C
tetradic
#2C1992 #921943 #7F9219 #199268
square
#2C1992 #921943 #7F9219 #199268
split-complementary
#2C1992 #926819 #439219
monochromatic
#0D0729 #1C105E #2C1992 #3C22C6 #5E46DF

Accessibility & contrast

On white

12.64
#2C1992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2C1992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1992
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1992#FFFFFF#000000##FFFFFF
##2C19921.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c1992;
/* rgb */ color: rgb(44, 25, 146);
/* oklch */ color: oklch(34.1% 0.181 277.9);
Tailwind
colors: {
  custom: {
    50: '#765ab3',
    500: '#2c1992',
    950: '#000000',
  },
}
SCSS
$custom: #2c1992;
$custom-light: #765ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1992",
  "rgb": {
    "r": 44,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 249.421,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.341,
    "c": 0.1814,
    "h": 277.9
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#2C1992
secondary
#ADC146
accent
#EE3AD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2C1992

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

Preview Lab → · Contrast checker → · Palette generator →

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