#2B21BD#2B21BD

#2B21BD is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.225 H 272.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2B21BD
RGBrgb(43, 33, 189)
HSLhsl(244, 70%, 44%)
HSVhsv(244, 83%, 74%)
CMYKcmyk(77.2%, 82.5%, 0%, 25.9%)
CIE-LABlab(27.50, 54.08, -77.83)
CIE-LCHlch(27.50, 94.78, 304.80°)
OKLaboklab(39.89% 0.0088 -0.2252)
OKLCHoklch(39.89% 0.225 272.2)
XYZxyz(10.7223, 5.2743, 48.5872)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B21BD #B3BD21
analogous
#2165BD #2B21BD #7921BD
triadic
#2B21BD #BD2B21 #21BD2B
tetradic
#2B21BD #BD2165 #B3BD21 #21BD79
square
#2B21BD #BD2165 #B3BD21 #21BD79
split-complementary
#2B21BD #BD7921 #65BD21
monochromatic
#130F55 #1F1889 #2B21BD #483EDD #7972E6

Accessibility & contrast

On white

10.22
#2B21BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B21BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B21BD
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B21BD#FFFFFF#000000##FFFFFF
##2B21BD1.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C1
Deuteranopia (green-blind)
#0039BA
Tritanopia (blue-blind)
#005371
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b21bd;
/* rgb */ color: rgb(43, 33, 189);
/* oklch */ color: oklch(39.9% 0.225 272.2);
Tailwind
colors: {
  custom: {
    50: '#7f61d2',
    500: '#2b21bd',
    950: '#000000',
  },
}
SCSS
$custom: #2b21bd;
$custom-light: #7f61d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b21bd",
  "rgb": {
    "r": 43,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 243.846,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.39892,
    "c": 0.22534,
    "h": 272.2
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#2B21BD
secondary
#C7CD6D
accent
#ED3BE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2B21BD

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

Preview Lab → · Contrast checker → · Palette generator →

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