#2A1CA6#2A1CA6

#2A1CA6 is a dark, highly saturated blue. Relative luminance 0.041; OKLCH L 36.6% C 0.203 H 274.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2A1CA6
RGBrgb(42, 28, 166)
HSLhsl(246, 71%, 38%)
HSVhsv(246, 83%, 65%)
CMYKcmyk(74.7%, 83.1%, 0%, 34.9%)
CIE-LABlab(23.92, 49.33, -70.01)
CIE-LCHlch(23.92, 85.64, 305.17°)
OKLaboklab(36.61% 0.015 -0.2024)
OKLCHoklch(36.61% 0.203 274.2)
XYZxyz(8.2508, 4.0751, 36.4207)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1CA6 #98A61C
analogous
#1C53A6 #2A1CA6 #6F1CA6
triadic
#2A1CA6 #A62A1C #1CA62A
tetradic
#2A1CA6 #A61C53 #98A61C #1CA66F
square
#2A1CA6 #A61C53 #98A61C #1CA66F
split-complementary
#2A1CA6 #A66F1C #53A61C
monochromatic
#100A3D #1D1372 #2A1CA6 #3725DA #6759E3

Accessibility & contrast

On white

11.57
#2A1CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A1CA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1CA6
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1CA6#FFFFFF#000000##FFFFFF
##2A1CA61.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FAA
Deuteranopia (green-blind)
#0032A4
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a1ca6;
/* rgb */ color: rgb(42, 28, 166);
/* oklch */ color: oklch(36.6% 0.203 274.2);
Tailwind
colors: {
  custom: {
    50: '#795dc2',
    500: '#2a1ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2a1ca6;
$custom-light: #795dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1ca6",
  "rgb": {
    "r": 42,
    "g": 28,
    "b": 166
  },
  "hsl": {
    "h": 246.087,
    "s": 71.134,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36608,
    "c": 0.203,
    "h": 274.2
  },
  "luminance": 0.04076
}

Semantic roles & 50–950 ramp

primary
#2A1CA6
secondary
#BBC757
accent
#EE3ADC
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0413
muted
#7C7982

Preview Lab

Preview with #2A1CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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