#2B1BB3#2B1BB3

#2B1BB3 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.1% C 0.218 H 273.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2B1BB3
RGBrgb(43, 27, 179)
HSLhsl(246, 74%, 40%)
HSVhsv(246, 85%, 70%)
CMYKcmyk(76%, 84.9%, 0%, 29.8%)
CIE-LABlab(25.42, 53.71, -75.35)
CIE-LCHlch(25.42, 92.53, 305.48°)
OKLaboklab(38.11% 0.0129 -0.2179)
OKLCHoklch(38.11% 0.218 273.4)
XYZxyz(9.5222, 4.5511, 43.0157)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1BB3 #A3B31B
analogous
#1B57B3 #2B1BB3 #771BB3
triadic
#2B1BB3 #B32B1B #1BB32B
tetradic
#2B1BB3 #B31B57 #A3B31B #1BB377
square
#2B1BB3 #B31B57 #A3B31B #1BB377
split-complementary
#2B1BB3 #B3771B #57B31B
monochromatic
#110B49 #1E137E #2B1BB3 #3F2CDF #6F61E7

Accessibility & contrast

On white

10.99
#2B1BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B1BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1BB3
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1BB3#FFFFFF#000000##FFFFFF
##2B1BB31.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b1bb3;
/* rgb */ color: rgb(43, 27, 179);
/* oklch */ color: oklch(38.1% 0.218 273.4);
Tailwind
colors: {
  custom: {
    50: '#7d5ecb',
    500: '#2b1bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b1bb3;
$custom-light: #7d5ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1bb3",
  "rgb": {
    "r": 43,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 246.316,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38109,
    "c": 0.21825,
    "h": 273.4
  },
  "luminance": 0.04552
}

Semantic roles & 50–950 ramp

primary
#2B1BB3
secondary
#C0CC5E
accent
#F037DD
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2B1BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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