#2B1E84#2B1E84

#2B1E84 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.1% C 0.160 H 278.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#2B1E84
RGBrgb(43, 30, 132)
HSLhsl(248, 63%, 32%)
HSVhsv(248, 77%, 52%)
CMYKcmyk(67.4%, 77.3%, 0%, 48.2%)
CIE-LABlab(20.47, 37.64, -54.71)
CIE-LCHlch(20.47, 66.41, 304.53°)
OKLaboklab(33.09% 0.0245 -0.158)
OKLCHoklch(33.09% 0.16 278.8)
XYZxyz(5.6241, 3.1076, 22.1288)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E84 #77841E
analogous
#1E4484 #2B1E84 #5E1E84
triadic
#2B1E84 #842B1E #1E842B
tetradic
#2B1E84 #841E44 #77841E #1E845E
square
#2B1E84 #841E44 #77841E #1E845E
split-complementary
#2B1E84 #845E1E #44841E
monochromatic
#0B0720 #1B1352 #2B1E84 #3B29B6 #5947D5

Accessibility & contrast

On white

12.95
#2B1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2B1E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E84
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E84#FFFFFF#000000##FFFFFF
##2B1E841.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003587
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2b1e84;
/* rgb */ color: rgb(43, 30, 132);
/* oklch */ color: oklch(33.1% 0.160 278.8);
Tailwind
colors: {
  custom: {
    50: '#725ca9',
    500: '#2b1e84',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e84;
$custom-light: #725ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e84",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 247.647,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33086,
    "c": 0.15986,
    "h": 278.8
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#2B1E84
secondary
#A9B747
accent
#E642D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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