#2A1CA0#2A1CA0

#2A1CA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.9% C 0.196 H 274.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2A1CA0
RGBrgb(42, 28, 160)
HSLhsl(246, 70%, 37%)
HSVhsv(246, 83%, 63%)
CMYKcmyk(73.8%, 82.5%, 0%, 37.3%)
CIE-LABlab(23.20, 47.49, -67.55)
CIE-LCHlch(23.20, 82.57, 305.11°)
OKLaboklab(35.91% 0.0166 -0.1953)
OKLCHoklch(35.91% 0.196 274.9)
XYZxyz(7.7132, 3.8600, 33.5895)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1CA0 #92A01C
analogous
#1C50A0 #2A1CA0 #6C1CA0
triadic
#2A1CA0 #A02A1C #1CA02A
tetradic
#2A1CA0 #A01C50 #92A01C #1CA06C
square
#2A1CA0 #A01C50 #92A01C #1CA06C
split-complementary
#2A1CA0 #A06C1C #50A01C
monochromatic
#0F0A38 #1C136C #2A1CA0 #3825D4 #6455E1

Accessibility & contrast

On white

11.85
#2A1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A1CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1CA0
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1CA0#FFFFFF#000000##FFFFFF
##2A1CA01.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a1ca0;
/* rgb */ color: rgb(42, 28, 160);
/* oklch */ color: oklch(35.9% 0.196 274.9);
Tailwind
colors: {
  custom: {
    50: '#785dbd',
    500: '#2a1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2a1ca0;
$custom-light: #785dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1ca0",
  "rgb": {
    "r": 42,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 246.364,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35907,
    "c": 0.19602,
    "h": 274.9
  },
  "luminance": 0.03861
}

Semantic roles & 50–950 ramp

primary
#2A1CA0
secondary
#B8C453
accent
#ED3BDA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2A1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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