#2B1986#2B1986

#2B1986 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.167 H 279.3°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#2B1986
RGBrgb(43, 25, 134)
HSLhsl(250, 69%, 31%)
HSVhsv(250, 81%, 53%)
CMYKcmyk(67.9%, 81.3%, 0%, 47.5%)
CIE-LABlab(19.76, 40.95, -57.14)
CIE-LCHlch(19.76, 70.30, 305.63°)
OKLaboklab(32.65% 0.0269 -0.165)
OKLCHoklch(32.65% 0.167 279.3)
XYZxyz(5.6456, 2.9296, 22.8176)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1986 #748619
analogous
#193D86 #2B1986 #611986
triadic
#2B1986 #862B19 #19862B
tetradic
#2B1986 #86193D #748619 #198661
square
#2B1986 #86193D #748619 #198661
split-complementary
#2B1986 #866119 #3D8619
monochromatic
#0A061F #1A0F52 #2B1986 #3C23BA #583EDB

Accessibility & contrast

On white

13.24
#2B1986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B1986
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1986#FFFFFF#000000##FFFFFF
##2B19861.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b1986;
/* rgb */ color: rgb(43, 25, 134);
/* oklch */ color: oklch(32.7% 0.167 279.3);
Tailwind
colors: {
  custom: {
    50: '#7259aa',
    500: '#2b1986',
    950: '#000000',
  },
}
SCSS
$custom: #2b1986;
$custom-light: #7259aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1986",
  "rgb": {
    "r": 43,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 249.908,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32654,
    "c": 0.16718,
    "h": 279.3
  },
  "luminance": 0.0293
}

Semantic roles & 50–950 ramp

primary
#2B1986
secondary
#A6BA41
accent
#EB3CCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2B1986

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

Preview Lab → · Contrast checker → · Palette generator →

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