#2C1DA1#2C1DA1

#2C1DA1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.3% C 0.196 H 275.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2C1DA1
RGBrgb(44, 29, 161)
HSLhsl(247, 69%, 37%)
HSVhsv(247, 82%, 63%)
CMYKcmyk(72.7%, 82%, 0%, 36.9%)
CIE-LABlab(23.63, 47.48, -67.45)
CIE-LCHlch(23.63, 82.49, 305.14°)
OKLaboklab(36.27% 0.0187 -0.195)
OKLCHoklch(36.27% 0.196 275.5)
XYZxyz(7.9090, 3.9866, 34.0640)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1DA1 #92A11D
analogous
#1D50A1 #2C1DA1 #6E1DA1
triadic
#2C1DA1 #A12C1D #1DA12C
tetradic
#2C1DA1 #A11D50 #92A11D #1DA16E
square
#2C1DA1 #A11D50 #92A11D #1DA16E
split-complementary
#2C1DA1 #A16E1D #50A11D
monochromatic
#100A39 #1E146D #2C1DA1 #3A26D5 #6758E1

Accessibility & contrast

On white

11.68
#2C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2C1DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1DA1
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1DA1#FFFFFF#000000##FFFFFF
##2C1DA11.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c1da1;
/* rgb */ color: rgb(44, 29, 161);
/* oklch */ color: oklch(36.3% 0.196 275.5);
Tailwind
colors: {
  custom: {
    50: '#795dbe',
    500: '#2c1da1',
    950: '#000000',
  },
}
SCSS
$custom: #2c1da1;
$custom-light: #795dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1da1",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 246.818,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36272,
    "c": 0.1959,
    "h": 275.5
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#2C1DA1
secondary
#B8C455
accent
#EC3CD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2C1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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