#2B1AB3#2B1AB3

#2B1AB3 is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 38.0% C 0.219 H 273.5°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2B1AB3
RGBrgb(43, 26, 179)
HSLhsl(247, 75%, 40%)
HSVhsv(247, 85%, 70%)
CMYKcmyk(76%, 85.5%, 0%, 29.8%)
CIE-LABlab(25.28, 54.11, -75.57)
CIE-LCHlch(25.28, 92.95, 305.60°)
OKLaboklab(38.02% 0.0132 -0.2185)
OKLCHoklch(38.02% 0.219 273.5)
XYZxyz(9.4996, 4.5061, 43.0082)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1AB3 #A2B31A
analogous
#1A55B3 #2B1AB3 #781AB3
triadic
#2B1AB3 #B32B1A #1AB32B
tetradic
#2B1AB3 #B31A55 #A2B31A #1AB378
square
#2B1AB3 #B31A55 #A2B31A #1AB378
split-complementary
#2B1AB3 #B3781A #55B31A
monochromatic
#110A48 #1E127E #2B1AB3 #3E2AE0 #6F60E8

Accessibility & contrast

On white

11.04
#2B1AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B1AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1AB3
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1AB3#FFFFFF#000000##FFFFFF
##2B1AB31.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.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: #2b1ab3;
/* rgb */ color: rgb(43, 26, 179);
/* oklch */ color: oklch(38.0% 0.219 273.5);
Tailwind
colors: {
  custom: {
    50: '#7d5dcb',
    500: '#2b1ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2b1ab3;
$custom-light: #7d5dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1ab3",
  "rgb": {
    "r": 43,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 246.667,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38015,
    "c": 0.21891,
    "h": 273.5
  },
  "luminance": 0.04507
}

Semantic roles & 50–950 ramp

primary
#2B1AB3
secondary
#C0CC5D
accent
#F137DD
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2B1AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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