#2B1C86#2B1C86

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

Color values

HEX#2B1C86
RGBrgb(43, 28, 134)
HSLhsl(248, 65%, 32%)
HSVhsv(248, 79%, 53%)
CMYKcmyk(67.9%, 79.1%, 0%, 47.5%)
CIE-LABlab(20.30, 39.39, -56.24)
CIE-LCHlch(20.30, 68.67, 305.00°)
OKLaboklab(33.03% 0.0252 -0.1624)
OKLCHoklch(33.03% 0.164 278.8)
XYZxyz(5.7132, 3.0649, 22.8401)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C86 #77861C
analogous
#1C4286 #2B1C86 #601C86
triadic
#2B1C86 #862B1C #1C862B
tetradic
#2B1C86 #861C42 #77861C #1C8660
square
#2B1C86 #861C42 #77861C #1C8660
split-complementary
#2B1C86 #86601C #42861C
monochromatic
#0B0721 #1B1153 #2B1C86 #3B27B9 #5944D8

Accessibility & contrast

On white

13.02
#2B1C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2B1C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1C86
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1C86#FFFFFF#000000##FFFFFF
##2B1C861.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b1c86;
/* rgb */ color: rgb(43, 28, 134);
/* oklch */ color: oklch(33.0% 0.164 278.8);
Tailwind
colors: {
  custom: {
    50: '#725baa',
    500: '#2b1c86',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c86;
$custom-light: #725baa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c86",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 248.491,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33033,
    "c": 0.16438,
    "h": 278.8
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#2B1C86
secondary
#A9B945
accent
#E83FD0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1C86

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

Preview Lab → · Contrast checker → · Palette generator →

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