#2B1BB0#2B1BB0

#2B1BB0 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.8% C 0.215 H 273.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2B1BB0
RGBrgb(43, 27, 176)
HSLhsl(246, 73%, 40%)
HSVhsv(246, 85%, 69%)
CMYKcmyk(75.6%, 84.7%, 0%, 31%)
CIE-LABlab(25.05, 52.82, -74.16)
CIE-LCHlch(25.05, 91.05, 305.46°)
OKLaboklab(37.75% 0.0138 -0.2144)
OKLCHoklch(37.75% 0.215 273.7)
XYZxyz(9.2221, 4.4311, 41.4351)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1BB0 #A0B01B
analogous
#1B56B0 #2B1BB0 #761BB0
triadic
#2B1BB0 #B02B1B #1BB02B
tetradic
#2B1BB0 #B01B56 #A0B01B #1BB076
square
#2B1BB0 #B01B56 #A0B01B #1BB076
split-complementary
#2B1BB0 #B0761B #56B01B
monochromatic
#110B46 #1E137B #2B1BB0 #3D2ADE #6E5FE6

Accessibility & contrast

On white

11.13
#2B1BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B1BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1BB0
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1BB0#FFFFFF#000000##FFFFFF
##2B1BB01.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042B4
Deuteranopia (green-blind)
#0034AE
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b1bb0;
/* rgb */ color: rgb(43, 27, 176);
/* oklch */ color: oklch(37.8% 0.215 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c5ec9',
    500: '#2b1bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2b1bb0;
$custom-light: #7c5ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1bb0",
  "rgb": {
    "r": 43,
    "g": 27,
    "b": 176
  },
  "hsl": {
    "h": 246.443,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37752,
    "c": 0.21487,
    "h": 273.7
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#2B1BB0
secondary
#BFCB5C
accent
#F038DC
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B1BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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