#2B1CA9#2B1CA9

#2B1CA9 is a dark, highly saturated blue. Relative luminance 0.042; OKLCH L 37.0% C 0.206 H 274.3°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2B1CA9
RGBrgb(43, 28, 169)
HSLhsl(246, 72%, 39%)
HSVhsv(246, 83%, 66%)
CMYKcmyk(74.6%, 83.4%, 0%, 33.7%)
CIE-LABlab(24.35, 50.30, -71.11)
CIE-LCHlch(24.35, 87.10, 305.28°)
OKLaboklab(37.03% 0.0155 -0.2056)
OKLCHoklch(37.03% 0.206 274.3)
XYZxyz(8.5706, 4.2078, 37.8889)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1CA9 #9AA91C
analogous
#1C53A9 #2B1CA9 #711CA9
triadic
#2B1CA9 #A92B1C #1CA92B
tetradic
#2B1CA9 #A91C53 #9AA91C #1CA971
square
#2B1CA9 #A91C53 #9AA91C #1CA971
split-complementary
#2B1CA9 #A9711C #53A91C
monochromatic
#100B40 #1E1374 #2B1CA9 #3A27DB #6A5BE4

Accessibility & contrast

On white

11.40
#2B1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2B1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1CA9
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1CA9#FFFFFF#000000##FFFFFF
##2B1CA91.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004964
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b1ca9;
/* rgb */ color: rgb(43, 28, 169);
/* oklch */ color: oklch(37.0% 0.206 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a5dc4',
    500: '#2b1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ca9;
$custom-light: #7a5dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ca9",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 246.383,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37025,
    "c": 0.2062,
    "h": 274.3
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#2B1CA9
secondary
#BCC859
accent
#EE39DB
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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