#2A1C86#2A1C86

#2A1C86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.165 H 278.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2A1C86
RGBrgb(42, 28, 134)
HSLhsl(248, 65%, 32%)
HSVhsv(248, 79%, 53%)
CMYKcmyk(68.7%, 79.1%, 0%, 47.5%)
CIE-LABlab(20.22, 39.28, -56.39)
CIE-LCHlch(20.22, 68.72, 304.86°)
OKLaboklab(32.95% 0.0238 -0.1629)
OKLCHoklch(32.95% 0.165 278.3)
XYZxyz(5.6718, 3.0435, 22.8382)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1C86 #78861C
analogous
#1C4386 #2A1C86 #5F1C86
triadic
#2A1C86 #862A1C #1C862A
tetradic
#2A1C86 #861C43 #78861C #1C865F
square
#2A1C86 #861C43 #78861C #1C865F
split-complementary
#2A1C86 #865F1C #43861C
monochromatic
#0A0721 #1A1153 #2A1C86 #3A27B9 #5844D8

Accessibility & contrast

On white

13.05
#2A1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2A1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1C86
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1C86#FFFFFF#000000##FFFFFF
##2A1C861.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2a1c86;
/* rgb */ color: rgb(42, 28, 134);
/* oklch */ color: oklch(33.0% 0.165 278.3);
Tailwind
colors: {
  custom: {
    50: '#725baa',
    500: '#2a1c86',
    950: '#000000',
  },
}
SCSS
$custom: #2a1c86;
$custom-light: #725baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1c86",
  "rgb": {
    "r": 42,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 247.925,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32952,
    "c": 0.16461,
    "h": 278.3
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#2A1C86
secondary
#AAB945
accent
#E83FD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2A1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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