#2B1AB4#2B1AB4

#2B1AB4 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.1% C 0.220 H 273.4°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2B1AB4
RGBrgb(43, 26, 180)
HSLhsl(247, 75%, 40%)
HSVhsv(247, 86%, 71%)
CMYKcmyk(76.1%, 85.6%, 0%, 29.4%)
CIE-LABlab(25.40, 54.40, -75.97)
CIE-LCHlch(25.40, 93.44, 305.61°)
OKLaboklab(38.14% 0.0129 -0.2196)
OKLCHoklch(38.14% 0.22 273.4)
XYZxyz(9.6011, 4.5467, 43.5428)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1AB4 #A3B41A
analogous
#1A56B4 #2B1AB4 #781AB4
triadic
#2B1AB4 #B42B1A #1AB42B
tetradic
#2B1AB4 #B41A56 #A3B41A #1AB478
square
#2B1AB4 #B41A56 #A3B41A #1AB478
split-complementary
#2B1AB4 #B4781A #56B41A
monochromatic
#110B49 #1E127F #2B1AB4 #3F2BE0 #6F60E8

Accessibility & contrast

On white

11.00
#2B1AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B1AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1AB4
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1AB4#FFFFFF#000000##FFFFFF
##2B1AB41.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004D6B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b1ab4;
/* rgb */ color: rgb(43, 26, 180);
/* oklch */ color: oklch(38.1% 0.220 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d5dcc',
    500: '#2b1ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ab4;
$custom-light: #7d5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ab4",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 180
  },
  "hsl": {
    "h": 246.623,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38135,
    "c": 0.22003,
    "h": 273.4
  },
  "luminance": 0.04548
}

Semantic roles & 50–950 ramp

primary
#2B1AB4
secondary
#C0CC5D
accent
#F136DD
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2B1AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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