#2B1BA0#2B1BA0

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

Color values

HEX#2B1BA0
RGBrgb(43, 27, 160)
HSLhsl(247, 71%, 37%)
HSVhsv(247, 83%, 63%)
CMYKcmyk(73.1%, 83.1%, 0%, 37.3%)
CIE-LABlab(23.12, 48.03, -67.69)
CIE-LCHlch(23.12, 83.00, 305.36°)
OKLaboklab(35.87% 0.0184 -0.1957)
OKLCHoklch(35.87% 0.197 275.4)
XYZxyz(7.7313, 3.8348, 33.5836)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1BA0 #90A01B
analogous
#1B4EA0 #2B1BA0 #6E1BA0
triadic
#2B1BA0 #A02B1B #1BA02B
tetradic
#2B1BA0 #A01B4E #90A01B #1BA06E
square
#2B1BA0 #A01B4E #90A01B #1BA06E
split-complementary
#2B1BA0 #A06E1B #4EA01B
monochromatic
#0F0937 #1D126C #2B1BA0 #3924D4 #6553E2

Accessibility & contrast

On white

11.88
#2B1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1BA0
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1BA0#FFFFFF#000000##FFFFFF
##2B1BA01.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b1ba0;
/* rgb */ color: rgb(43, 27, 160);
/* oklch */ color: oklch(35.9% 0.197 275.4);
Tailwind
colors: {
  custom: {
    50: '#785cbd',
    500: '#2b1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ba0;
$custom-light: #785cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ba0",
  "rgb": {
    "r": 43,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 247.218,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35866,
    "c": 0.19653,
    "h": 275.4
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#2B1BA0
secondary
#B7C552
accent
#EE3AD8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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