#2B1A86#2B1A86

#2B1A86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.166 H 279.1°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#2B1A86
RGBrgb(43, 26, 134)
HSLhsl(249, 68%, 31%)
HSVhsv(249, 81%, 53%)
CMYKcmyk(67.9%, 80.6%, 0%, 47.5%)
CIE-LABlab(19.94, 40.44, -56.85)
CIE-LCHlch(19.94, 69.77, 305.43°)
OKLaboklab(32.78% 0.0264 -0.1642)
OKLCHoklch(32.78% 0.166 279.1)
XYZxyz(5.6674, 2.9731, 22.8248)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1A86 #75861A
analogous
#1A3F86 #2B1A86 #611A86
triadic
#2B1A86 #862B1A #1A862B
tetradic
#2B1A86 #861A3F #75861A #1A8661
square
#2B1A86 #861A3F #75861A #1A8661
split-complementary
#2B1A86 #86611A #3F861A
monochromatic
#0A061F #1B1053 #2B1A86 #3B24B9 #5940DA

Accessibility & contrast

On white

13.17
#2B1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2B1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1A86
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1A86#FFFFFF#000000##FFFFFF
##2B1A861.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2b1a86;
/* rgb */ color: rgb(43, 26, 134);
/* oklch */ color: oklch(32.8% 0.166 279.1);
Tailwind
colors: {
  custom: {
    50: '#725aaa',
    500: '#2b1a86',
    950: '#000000',
  },
}
SCSS
$custom: #2b1a86;
$custom-light: #725aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1a86",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 249.444,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32777,
    "c": 0.16628,
    "h": 279.1
  },
  "luminance": 0.02974
}

Semantic roles & 50–950 ramp

primary
#2B1A86
secondary
#A7B942
accent
#EA3DCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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