#2B1AA1#2B1AA1

#2B1AA1 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.9% C 0.198 H 275.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2B1AA1
RGBrgb(43, 26, 161)
HSLhsl(248, 72%, 37%)
HSVhsv(248, 84%, 63%)
CMYKcmyk(73.3%, 83.9%, 0%, 36.9%)
CIE-LABlab(23.08, 48.79, -68.35)
CIE-LCHlch(23.08, 83.98, 305.52°)
OKLaboklab(35.88% 0.0184 -0.1976)
OKLCHoklch(35.88% 0.198 275.3)
XYZxyz(7.7966, 3.8248, 34.0387)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1AA1 #90A11A
analogous
#1A4CA1 #2B1AA1 #6F1AA1
triadic
#2B1AA1 #A12B1A #1AA12B
tetradic
#2B1AA1 #A11A4C #90A11A #1AA16F
square
#2B1AA1 #A11A4C #90A11A #1AA16F
split-complementary
#2B1AA1 #A16F1A #4CA11A
monochromatic
#0F0938 #1D116C #2B1AA1 #3923D6 #6552E3

Accessibility & contrast

On white

11.90
#2B1AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1AA1
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1AA1#FFFFFF#000000##FFFFFF
##2B1AA11.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b1aa1;
/* rgb */ color: rgb(43, 26, 161);
/* oklch */ color: oklch(35.9% 0.198 275.3);
Tailwind
colors: {
  custom: {
    50: '#795cbe',
    500: '#2b1aa1',
    950: '#000000',
  },
}
SCSS
$custom: #2b1aa1;
$custom-light: #795cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1aa1",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 161
  },
  "hsl": {
    "h": 247.556,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.19845,
    "h": 275.3
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#2B1AA1
secondary
#B7C651
accent
#EF39D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B1AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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