#2B1B86#2B1B86

#2B1B86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.165 H 279.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#2B1B86
RGBrgb(43, 27, 134)
HSLhsl(249, 66%, 32%)
HSVhsv(249, 80%, 53%)
CMYKcmyk(67.9%, 79.9%, 0%, 47.5%)
CIE-LABlab(20.12, 39.92, -56.55)
CIE-LCHlch(20.12, 69.22, 305.22°)
OKLaboklab(32.9% 0.0258 -0.1633)
OKLCHoklch(32.9% 0.165 279)
XYZxyz(5.6899, 3.0182, 22.8324)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1B86 #76861B
analogous
#1B4186 #2B1B86 #611B86
triadic
#2B1B86 #862B1B #1B862B
tetradic
#2B1B86 #861B41 #76861B #1B8661
square
#2B1B86 #861B41 #76861B #1B8661
split-complementary
#2B1B86 #86611B #41861B
monochromatic
#0A0620 #1B1153 #2B1B86 #3B25B9 #5942D9

Accessibility & contrast

On white

13.09
#2B1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2B1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1B86
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1B86#FFFFFF#000000##FFFFFF
##2B1B861.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b1b86;
/* rgb */ color: rgb(43, 27, 134);
/* oklch */ color: oklch(32.9% 0.165 279.0);
Tailwind
colors: {
  custom: {
    50: '#725aaa',
    500: '#2b1b86',
    950: '#000000',
  },
}
SCSS
$custom: #2b1b86;
$custom-light: #725aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1b86",
  "rgb": {
    "r": 43,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 248.972,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32903,
    "c": 0.16534,
    "h": 279
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#2B1B86
secondary
#A8B944
accent
#E93ED0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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