#2A1CA9#2A1CA9

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

Color values

HEX#2A1CA9
RGBrgb(42, 28, 169)
HSLhsl(246, 72%, 39%)
HSVhsv(246, 83%, 66%)
CMYKcmyk(75.1%, 83.4%, 0%, 33.7%)
CIE-LABlab(24.28, 50.24, -71.23)
CIE-LCHlch(24.28, 87.16, 305.20°)
OKLaboklab(36.96% 0.0141 -0.206)
OKLCHoklch(36.96% 0.206 273.9)
XYZxyz(8.5292, 4.1864, 37.8870)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1CA9 #9BA91C
analogous
#1C54A9 #2A1CA9 #701CA9
triadic
#2A1CA9 #A92A1C #1CA92A
tetradic
#2A1CA9 #A91C54 #9BA91C #1CA970
square
#2A1CA9 #A91C54 #9BA91C #1CA970
split-complementary
#2A1CA9 #A9701C #54A91C
monochromatic
#100B40 #1D1374 #2A1CA9 #3927DB #695BE4

Accessibility & contrast

On white

11.43
#2A1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A1CA9
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1CA9#FFFFFF#000000##FFFFFF
##2A1CA91.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a1ca9;
/* rgb */ color: rgb(42, 28, 169);
/* oklch */ color: oklch(37.0% 0.206 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a5dc4',
    500: '#2a1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2a1ca9;
$custom-light: #7a5dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1ca9",
  "rgb": {
    "r": 42,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 245.957,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3696,
    "c": 0.20645,
    "h": 273.9
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#2A1CA9
secondary
#BDC859
accent
#EE39DC
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2A1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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