#2B1C92#2B1C92

#2B1C92 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.179 H 277.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2B1C92
RGBrgb(43, 28, 146)
HSLhsl(248, 68%, 34%)
HSVhsv(248, 81%, 57%)
CMYKcmyk(70.5%, 80.8%, 0%, 42.7%)
CIE-LABlab(21.65, 43.21, -61.51)
CIE-LCHlch(21.65, 75.17, 305.09°)
OKLaboklab(34.37% 0.0219 -0.1778)
OKLCHoklch(34.37% 0.179 277)
XYZxyz(6.5981, 3.4188, 27.5007)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C92 #83921C
analogous
#1C4892 #2B1C92 #661C92
triadic
#2B1C92 #922B1C #1C922B
tetradic
#2B1C92 #921C48 #83921C #1C9266
square
#2B1C92 #921C48 #83921C #1C9266
split-complementary
#2B1C92 #92661C #48921C
monochromatic
#0D082B #1C125F #2B1C92 #3A26C5 #5E4CDD

Accessibility & contrast

On white

12.47
#2B1C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B1C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1C92
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1C92#FFFFFF#000000##FFFFFF
##2B1C921.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004057
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b1c92;
/* rgb */ color: rgb(43, 28, 146);
/* oklch */ color: oklch(34.4% 0.179 277.0);
Tailwind
colors: {
  custom: {
    50: '#755cb3',
    500: '#2b1c92',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c92;
$custom-light: #755cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c92",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 247.627,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34372,
    "c": 0.17911,
    "h": 277
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#2B1C92
secondary
#B0BF4B
accent
#EB3DD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1C92

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

Preview Lab → · Contrast checker → · Palette generator →

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