#2B1EB1#2B1EB1

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

Color values

HEX#2B1EB1
RGBrgb(43, 30, 177)
HSLhsl(245, 71%, 41%)
HSVhsv(245, 83%, 69%)
CMYKcmyk(75.7%, 83.1%, 0%, 30.6%)
CIE-LABlab(25.61, 51.82, -73.83)
CIE-LCHlch(25.61, 90.20, 305.07°)
OKLaboklab(38.17% 0.0127 -0.2135)
OKLCHoklch(38.17% 0.214 273.4)
XYZxyz(9.3937, 4.6155, 41.9823)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B1EB1 #A4B11E
analogous
#1E5AB1 #2B1EB1 #741EB1
triadic
#2B1EB1 #B12B1E #1EB12B
tetradic
#2B1EB1 #B11E5A #A4B11E #1EB174
square
#2B1EB1 #B11E5A #A4B11E #1EB174
split-complementary
#2B1EB1 #B1741E #5AB11E
monochromatic
#120C48 #1E157D #2B1EB1 #3F30DC #7065E5

Accessibility & contrast

On white

10.92
#2B1EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B1EB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B1EB1
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B1EB1#FFFFFF#000000##FFFFFF
##2B1EB11.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B5
Deuteranopia (green-blind)
#0036AF
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b1eb1;
/* rgb */ color: rgb(43, 30, 177);
/* oklch */ color: oklch(38.2% 0.214 273.4);
Tailwind
colors: {
  custom: {
    50: '#7c5fca',
    500: '#2b1eb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b1eb1;
$custom-light: #7c5fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b1eb1",
  "rgb": {
    "r": 43,
    "g": 30,
    "b": 177
  },
  "hsl": {
    "h": 245.306,
    "s": 71.014,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38173,
    "c": 0.21391,
    "h": 273.4
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#2B1EB1
secondary
#C1CA61
accent
#EE3ADE
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B1EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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