#2B1992#2B1992

#2B1992 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.182 H 277.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#2B1992
RGBrgb(43, 25, 146)
HSLhsl(249, 71%, 34%)
HSVhsv(249, 83%, 57%)
CMYKcmyk(70.5%, 82.9%, 0%, 42.7%)
CIE-LABlab(21.15, 44.68, -62.34)
CIE-LCHlch(21.15, 76.70, 305.63°)
OKLaboklab(34.02% 0.0233 -0.1801)
OKLCHoklch(34.02% 0.182 277.4)
XYZxyz(6.5305, 3.2836, 27.4782)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1992 #809219
analogous
#194392 #2B1992 #671992
triadic
#2B1992 #922B19 #19922B
tetradic
#2B1992 #921943 #809219 #199267
square
#2B1992 #921943 #809219 #199267
split-complementary
#2B1992 #926719 #439219
monochromatic
#0C0729 #1C105E #2B1992 #3A22C6 #5D46DF

Accessibility & contrast

On white

12.68
#2B1992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2B1992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1992
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1992#FFFFFF#000000##FFFFFF
##2B19921.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#002E90
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b1992;
/* rgb */ color: rgb(43, 25, 146);
/* oklch */ color: oklch(34.0% 0.182 277.4);
Tailwind
colors: {
  custom: {
    50: '#755ab3',
    500: '#2b1992',
    950: '#000000',
  },
}
SCSS
$custom: #2b1992;
$custom-light: #755ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1992",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 248.926,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34022,
    "c": 0.18163,
    "h": 277.4
  },
  "luminance": 0.03284
}

Semantic roles & 50–950 ramp

primary
#2B1992
secondary
#AEC146
accent
#EE3AD3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1992

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

Preview Lab → · Contrast checker → · Palette generator →

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