#2C1AC9#2C1AC9

#2C1AC9 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.7% C 0.243 H 272.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2C1AC9
RGBrgb(44, 26, 201)
HSLhsl(246, 77%, 45%)
HSVhsv(246, 87%, 79%)
CMYKcmyk(78.1%, 87.1%, 0%, 21.2%)
CIE-LABlab(28.09, 60.43, -83.92)
CIE-LCHlch(28.09, 103.41, 305.76°)
OKLaboklab(40.73% 0.0083 -0.2426)
OKLCHoklch(40.73% 0.243 272)
XYZxyz(11.9472, 5.4900, 55.6770)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1AC9 #B7C91A
analogous
#1A60C9 #2C1AC9 #831AC9
triadic
#2C1AC9 #C92C1A #1AC92C
tetradic
#2C1AC9 #C91A60 #B7C91A #1AC983
square
#2C1AC9 #C91A60 #B7C91A #1AC983
split-complementary
#2C1AC9 #C9831A #60C91A
monochromatic
#140C5D #201393 #2C1AC9 #4C3BE6 #7E71ED

Accessibility & contrast

On white

10.01
#2C1AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2C1AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1AC9
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1AC9#FFFFFF#000000##FFFFFF
##2C1AC91.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ACE
Deuteranopia (green-blind)
#003AC6
Tritanopia (blue-blind)
#005677
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c1ac9;
/* rgb */ color: rgb(44, 26, 201);
/* oklch */ color: oklch(40.7% 0.243 272.0);
Tailwind
colors: {
  custom: {
    50: '#825fdb',
    500: '#2c1ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2c1ac9;
$custom-light: #825fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1ac9",
  "rgb": {
    "r": 44,
    "g": 26,
    "b": 201
  },
  "hsl": {
    "h": 246.171,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40729,
    "c": 0.24278,
    "h": 272
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#2C1AC9
secondary
#C8D36C
accent
#F434E0
background
#F9F5FD
surface
#F1EAFB
border
#CBC6D4
text
#0D0515
muted
#7E7983

Preview Lab

Preview with #2C1AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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