#2B1E91#2B1E91

#2B1E91 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.176 H 276.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2B1E91
RGBrgb(43, 30, 145)
HSLhsl(247, 66%, 34%)
HSVhsv(247, 79%, 57%)
CMYKcmyk(70.3%, 79.3%, 0%, 43.1%)
CIE-LABlab(21.89, 41.86, -60.49)
CIE-LCHlch(21.89, 73.56, 304.69°)
OKLaboklab(34.51% 0.0212 -0.1748)
OKLCHoklch(34.51% 0.176 276.9)
XYZxyz(6.5697, 3.4859, 27.1092)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E91 #84911E
analogous
#1E4A91 #2B1E91 #651E91
triadic
#2B1E91 #912B1E #1E912B
tetradic
#2B1E91 #911E4A #84911E #1E9165
square
#2B1E91 #911E4A #84911E #1E9165
split-complementary
#2B1E91 #91651E #4A911E
monochromatic
#0D092C #1C145E #2B1E91 #3A28C4 #5F4FDB

Accessibility & contrast

On white

12.37
#2B1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2B1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E91
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E91#FFFFFF#000000##FFFFFF
##2B1E911.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003994
Deuteranopia (green-blind)
#002F8F
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b1e91;
/* rgb */ color: rgb(43, 30, 145);
/* oklch */ color: oklch(34.5% 0.176 276.9);
Tailwind
colors: {
  custom: {
    50: '#755db2',
    500: '#2b1e91',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e91;
$custom-light: #755db2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e91",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 246.783,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34509,
    "c": 0.17608,
    "h": 276.9
  },
  "luminance": 0.03486
}

Semantic roles & 50–950 ramp

primary
#2B1E91
secondary
#B1BD4D
accent
#E93FD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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