#2A1C92#2A1C92

#2A1C92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.179 H 276.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2A1C92
RGBrgb(42, 28, 146)
HSLhsl(247, 68%, 34%)
HSVhsv(247, 81%, 57%)
CMYKcmyk(71.2%, 80.8%, 0%, 42.7%)
CIE-LABlab(21.57, 43.12, -61.64)
CIE-LCHlch(21.57, 75.23, 304.97°)
OKLaboklab(34.3% 0.0205 -0.1782)
OKLCHoklch(34.3% 0.179 276.6)
XYZxyz(6.5567, 3.3975, 27.4988)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1C92 #84921C
analogous
#1C4992 #2A1C92 #651C92
triadic
#2A1C92 #922A1C #1C922A
tetradic
#2A1C92 #921C49 #84921C #1C9265
square
#2A1C92 #921C49 #84921C #1C9265
split-complementary
#2A1C92 #92651C #49921C
monochromatic
#0C082B #1B125F #2A1C92 #3926C5 #5D4CDD

Accessibility & contrast

On white

12.50
#2A1C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2A1C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1C92
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1C92#FFFFFF#000000##FFFFFF
##2A1C921.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a1c92;
/* rgb */ color: rgb(42, 28, 146);
/* oklch */ color: oklch(34.3% 0.179 276.6);
Tailwind
colors: {
  custom: {
    50: '#755cb3',
    500: '#2a1c92',
    950: '#000000',
  },
}
SCSS
$custom: #2a1c92;
$custom-light: #755cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1c92",
  "rgb": {
    "r": 42,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 247.119,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34297,
    "c": 0.17935,
    "h": 276.6
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#2A1C92
secondary
#B1BF4B
accent
#EB3DD6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2A1C92

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

Preview Lab → · Contrast checker → · Palette generator →

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