#2A1C90#2A1C90

#2A1C90 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.1% C 0.177 H 276.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#2A1C90
RGBrgb(42, 28, 144)
HSLhsl(247, 67%, 34%)
HSVhsv(247, 81%, 56%)
CMYKcmyk(70.8%, 80.6%, 0%, 43.5%)
CIE-LABlab(21.34, 42.49, -60.78)
CIE-LCHlch(21.34, 74.16, 304.95°)
OKLaboklab(34.07% 0.0211 -0.1757)
OKLCHoklch(34.07% 0.177 276.8)
XYZxyz(6.4025, 3.3358, 26.6866)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1C90 #82901C
analogous
#1C4890 #2A1C90 #641C90
triadic
#2A1C90 #902A1C #1C902A
tetradic
#2A1C90 #901C48 #82901C #1C9064
square
#2A1C90 #901C48 #82901C #1C9064
split-complementary
#2A1C90 #90641C #48901C
monochromatic
#0C082A #1B125D #2A1C90 #3926C3 #5C4ADC

Accessibility & contrast

On white

12.60
#2A1C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2A1C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1C90
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1C90#FFFFFF#000000##FFFFFF
##2A1C901.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2a1c90;
/* rgb */ color: rgb(42, 28, 144);
/* oklch */ color: oklch(34.1% 0.177 276.8);
Tailwind
colors: {
  custom: {
    50: '#745cb2',
    500: '#2a1c90',
    950: '#000000',
  },
}
SCSS
$custom: #2a1c90;
$custom-light: #745cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1c90",
  "rgb": {
    "r": 42,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 247.241,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3407,
    "c": 0.17692,
    "h": 276.8
  },
  "luminance": 0.03336
}

Semantic roles & 50–950 ramp

primary
#2A1C90
secondary
#B0BE4A
accent
#EA3DD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #2A1C90

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

Preview Lab → · Contrast checker → · Palette generator →

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