#2B1E96#2B1E96

#2B1E96 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.182 H 276.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#2B1E96
RGBrgb(43, 30, 150)
HSLhsl(247, 67%, 35%)
HSVhsv(247, 80%, 59%)
CMYKcmyk(71.3%, 80%, 0%, 41.2%)
CIE-LABlab(22.46, 43.46, -62.65)
CIE-LCHlch(22.46, 76.25, 304.75°)
OKLaboklab(35.07% 0.0199 -0.1811)
OKLCHoklch(35.07% 0.182 276.3)
XYZxyz(6.9638, 3.6435, 29.1845)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1E96 #89961E
analogous
#1E4D96 #2B1E96 #671E96
triadic
#2B1E96 #962B1E #1E962B
tetradic
#2B1E96 #961E4D #89961E #1E9667
square
#2B1E96 #961E4D #89961E #1E9667
split-complementary
#2B1E96 #96671E #4D961E
monochromatic
#0E0A30 #1C1463 #2B1E96 #3A28C9 #6152DC

Accessibility & contrast

On white

12.15
#2B1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1E96
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1E96#FFFFFF#000000##FFFFFF
##2B1E961.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003094
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b1e96;
/* rgb */ color: rgb(43, 30, 150);
/* oklch */ color: oklch(35.1% 0.182 276.3);
Tailwind
colors: {
  custom: {
    50: '#765db6',
    500: '#2b1e96',
    950: '#000000',
  },
}
SCSS
$custom: #2b1e96;
$custom-light: #765db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1e96",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 246.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35068,
    "c": 0.18218,
    "h": 276.3
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#2B1E96
secondary
#B3BF50
accent
#EA3ED7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2B1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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