#2B1CA1#2B1CA1

#2B1CA1 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.197 H 275.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2B1CA1
RGBrgb(43, 28, 161)
HSLhsl(247, 70%, 37%)
HSVhsv(247, 83%, 63%)
CMYKcmyk(73.3%, 82.6%, 0%, 36.9%)
CIE-LABlab(23.39, 47.87, -67.84)
CIE-LCHlch(23.39, 83.03, 305.21°)
OKLaboklab(36.09% 0.0177 -0.1961)
OKLCHoklch(36.09% 0.197 275.2)
XYZxyz(7.8424, 3.9165, 34.0540)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1CA1 #92A11C
analogous
#1C50A1 #2B1CA1 #6E1CA1
triadic
#2B1CA1 #A12B1C #1CA12B
tetradic
#2B1CA1 #A11C50 #92A11C #1CA16E
square
#2B1CA1 #A11C50 #92A11C #1CA16E
split-complementary
#2B1CA1 #A16E1C #50A11C
monochromatic
#0F0A39 #1D136D #2B1CA1 #3925D5 #6656E2

Accessibility & contrast

On white

11.78
#2B1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1CA1
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1CA1#FFFFFF#000000##FFFFFF
##2B1CA11.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b1ca1;
/* rgb */ color: rgb(43, 28, 161);
/* oklch */ color: oklch(36.1% 0.197 275.2);
Tailwind
colors: {
  custom: {
    50: '#785dbe',
    500: '#2b1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ca1;
$custom-light: #785dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ca1",
  "rgb": {
    "r": 43,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 246.767,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36091,
    "c": 0.19693,
    "h": 275.2
  },
  "luminance": 0.03917
}

Semantic roles & 50–950 ramp

primary
#2B1CA1
secondary
#B8C554
accent
#ED3BD9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2B1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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