#2B1C9A#2B1C9A

#2B1C9A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.189 H 276.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2B1C9A
RGBrgb(43, 28, 154)
HSLhsl(247, 69%, 36%)
HSVhsv(247, 82%, 60%)
CMYKcmyk(72.1%, 81.8%, 0%, 39.6%)
CIE-LABlab(22.57, 45.72, -64.92)
CIE-LCHlch(22.57, 79.40, 305.15°)
OKLaboklab(35.28% 0.0197 -0.1877)
OKLCHoklch(35.28% 0.189 276)
XYZxyz(7.2423, 3.6765, 30.8935)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C9A #8B9A1C
analogous
#1C4C9A #2B1C9A #6A1C9A
triadic
#2B1C9A #9A2B1C #1C9A2B
tetradic
#2B1C9A #9A1C4C #8B9A1C #1C9A6A
square
#2B1C9A #9A1C4C #8B9A1C #1C9A6A
split-complementary
#2B1C9A #9A6A1C #4C9A1C
monochromatic
#0E0932 #1D1366 #2B1C9A #3925CE #6251DF

Accessibility & contrast

On white

12.10
#2B1C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B1C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1C9A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1C9A#FFFFFF#000000##FFFFFF
##2B1C9A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b1c9a;
/* rgb */ color: rgb(43, 28, 154);
/* oklch */ color: oklch(35.3% 0.189 276.0);
Tailwind
colors: {
  custom: {
    50: '#775cb9',
    500: '#2b1c9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c9a;
$custom-light: #775cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c9a",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 154
  },
  "hsl": {
    "h": 247.143,
    "s": 69.231,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35283,
    "c": 0.18869,
    "h": 276
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#2B1C9A
secondary
#B5C250
accent
#EC3CD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B1C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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