#2B1C9B#2B1C9B

#2B1C9B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.4% C 0.190 H 275.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2B1C9B
RGBrgb(43, 28, 155)
HSLhsl(247, 69%, 36%)
HSVhsv(247, 82%, 61%)
CMYKcmyk(72.3%, 81.9%, 0%, 39.2%)
CIE-LABlab(22.69, 46.03, -65.34)
CIE-LCHlch(22.69, 79.92, 305.16°)
OKLaboklab(35.4% 0.0194 -0.1889)
OKLCHoklch(35.4% 0.19 275.9)
XYZxyz(7.3260, 3.7100, 31.3340)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C9B #8C9B1C
analogous
#1C4C9B #2B1C9B #6A1C9B
triadic
#2B1C9B #9B2B1C #1C9B2B
tetradic
#2B1C9B #9B1C4C #8C9B1C #1C9B6A
square
#2B1C9B #9B1C4C #8C9B1C #1C9B6A
split-complementary
#2B1C9B #9B6A1C #4C9B1C
monochromatic
#0E0933 #1D1367 #2B1C9B #3925CF #6252E0

Accessibility & contrast

On white

12.05
#2B1C9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2B1C9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1C9B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1C9B#FFFFFF#000000##FFFFFF
##2B1C9B1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9E
Deuteranopia (green-blind)
#003099
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b1c9b;
/* rgb */ color: rgb(43, 28, 155);
/* oklch */ color: oklch(35.4% 0.190 275.9);
Tailwind
colors: {
  custom: {
    50: '#775cba',
    500: '#2b1c9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c9b;
$custom-light: #775cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c9b",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 155
  },
  "hsl": {
    "h": 247.087,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35398,
    "c": 0.18987,
    "h": 275.9
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#2B1C9B
secondary
#B5C350
accent
#EC3CD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2B1C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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