#2B1AA0#2B1AA0

#2B1AA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.8% C 0.197 H 275.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2B1AA0
RGBrgb(43, 26, 160)
HSLhsl(248, 72%, 36%)
HSVhsv(248, 84%, 63%)
CMYKcmyk(73.1%, 83.8%, 0%, 37.3%)
CIE-LABlab(22.96, 48.48, -67.94)
CIE-LCHlch(22.96, 83.47, 305.51°)
OKLaboklab(35.76% 0.0187 -0.1964)
OKLCHoklch(35.76% 0.197 275.4)
XYZxyz(7.7087, 3.7897, 33.5761)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1AA0 #8FA01A
analogous
#1A4CA0 #2B1AA0 #6E1AA0
triadic
#2B1AA0 #A02B1A #1AA02B
tetradic
#2B1AA0 #A01A4C #8FA01A #1AA06E
square
#2B1AA0 #A01A4C #8FA01A #1AA06E
split-complementary
#2B1AA0 #A06E1A #4CA01A
monochromatic
#0F0937 #1D116B #2B1AA0 #3923D5 #6452E3

Accessibility & contrast

On white

11.95
#2B1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1AA0
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1AA0#FFFFFF#000000##FFFFFF
##2B1AA01.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b1aa0;
/* rgb */ color: rgb(43, 26, 160);
/* oklch */ color: oklch(35.8% 0.197 275.4);
Tailwind
colors: {
  custom: {
    50: '#785cbd',
    500: '#2b1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2b1aa0;
$custom-light: #785cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1aa0",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 247.612,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3576,
    "c": 0.19729,
    "h": 275.4
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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