#2B1C99#2B1C99

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

Color values

HEX#2B1C99
RGBrgb(43, 28, 153)
HSLhsl(247, 69%, 35%)
HSVhsv(247, 82%, 60%)
CMYKcmyk(71.9%, 81.7%, 0%, 40%)
CIE-LABlab(22.46, 45.41, -64.50)
CIE-LCHlch(22.46, 78.88, 305.15°)
OKLaboklab(35.17% 0.02 -0.1864)
OKLCHoklch(35.17% 0.188 276.1)
XYZxyz(7.1594, 3.6433, 30.4567)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1C99 #8A991C
analogous
#1C4B99 #2B1C99 #691C99
triadic
#2B1C99 #992B1C #1C992B
tetradic
#2B1C99 #991C4B #8A991C #1C9969
square
#2B1C99 #991C4B #8A991C #1C9969
split-complementary
#2B1C99 #99691C #4B991C
monochromatic
#0E0932 #1C1365 #2B1C99 #3A25CD #6150DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B1C99#FFFFFF#000000##FFFFFF
##2B1C991.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)
#003B9C
Deuteranopia (green-blind)
#003097
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b1c99;
/* rgb */ color: rgb(43, 28, 153);
/* oklch */ color: oklch(35.2% 0.188 276.1);
Tailwind
colors: {
  custom: {
    50: '#775cb8',
    500: '#2b1c99',
    950: '#000000',
  },
}
SCSS
$custom: #2b1c99;
$custom-light: #775cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1c99",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 247.2,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35169,
    "c": 0.1875,
    "h": 276.1
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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