#2C1DA7#2C1DA7

#2C1DA7 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.0% C 0.203 H 274.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#2C1DA7
RGBrgb(44, 29, 167)
HSLhsl(247, 70%, 38%)
HSVhsv(247, 83%, 65%)
CMYKcmyk(73.7%, 82.6%, 0%, 34.5%)
CIE-LABlab(24.33, 49.32, -69.92)
CIE-LCHlch(24.33, 85.56, 305.19°)
OKLaboklab(36.96% 0.0171 -0.2022)
OKLCHoklch(36.96% 0.203 274.8)
XYZxyz(8.4508, 4.2034, 36.9177)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1DA7 #98A71D
analogous
#1D53A7 #2C1DA7 #711DA7
triadic
#2C1DA7 #A72C1D #1DA72C
tetradic
#2C1DA7 #A71D53 #98A71D #1DA771
square
#2C1DA7 #A71D53 #98A71D #1DA771
split-complementary
#2C1DA7 #A7711D #53A71D
monochromatic
#110B3F #1E1473 #2C1DA7 #3B28DA #6A5CE3

Accessibility & contrast

On white

11.41
#2C1DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C1DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1DA7
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1DA7#FFFFFF#000000##FFFFFF
##2C1DA71.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0033A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c1da7;
/* rgb */ color: rgb(44, 29, 167);
/* oklch */ color: oklch(37.0% 0.203 274.8);
Tailwind
colors: {
  custom: {
    50: '#7a5ec3',
    500: '#2c1da7',
    950: '#000000',
  },
}
SCSS
$custom: #2c1da7;
$custom-light: #7a5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1da7",
  "rgb": {
    "r": 44,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 246.522,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.20289,
    "h": 274.8
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#2C1DA7
secondary
#BBC759
accent
#ED3BDA
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2C1DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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