#2B1E86#2B1E86

#2B1E86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.162 H 278.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#2B1E86
RGBrgb(43, 30, 134)
HSLhsl(248, 63%, 32%)
HSVhsv(248, 78%, 53%)
CMYKcmyk(67.9%, 77.6%, 0%, 47.5%)
CIE-LABlab(20.68, 38.30, -55.61)
CIE-LCHlch(20.68, 67.52, 304.55°)
OKLaboklab(33.3% 0.024 -0.1606)
OKLCHoklch(33.3% 0.162 278.5)
XYZxyz(5.7622, 3.1629, 22.8565)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E86 #79861E
analogous
#1E4586 #2B1E86 #5F1E86
triadic
#2B1E86 #862B1E #1E862B
tetradic
#2B1E86 #861E45 #79861E #1E865F
square
#2B1E86 #861E45 #79861E #1E865F
split-complementary
#2B1E86 #865F1E #45861E
monochromatic
#0B0822 #1B1354 #2B1E86 #3B29B8 #5A48D6

Accessibility & contrast

On white

12.86
#2B1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2B1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E86
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E86#FFFFFF#000000##FFFFFF
##2B1E861.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2b1e86;
/* rgb */ color: rgb(43, 30, 134);
/* oklch */ color: oklch(33.3% 0.162 278.5);
Tailwind
colors: {
  custom: {
    50: '#725caa',
    500: '#2b1e86',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e86;
$custom-light: #725caa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e86",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 247.5,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33302,
    "c": 0.1624,
    "h": 278.5
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#2B1E86
secondary
#AAB847
accent
#E641D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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