#2B29BB#2B29BB

#2B29BB is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.217 H 271.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2B29BB
RGBrgb(43, 41, 187)
HSLhsl(241, 64%, 45%)
HSVhsv(241, 78%, 73%)
CMYKcmyk(77%, 78.1%, 0%, 26.7%)
CIE-LABlab(28.61, 49.58, -74.81)
CIE-LCHlch(28.61, 89.75, 303.53°)
OKLaboklab(40.59% 0.0069 -0.2166)
OKLCHoklch(40.59% 0.217 271.8)
XYZxyz(10.7558, 5.6862, 47.5347)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29BB #B9BB29
analogous
#2970BB #2B29BB #7429BB
triadic
#2B29BB #BB2B29 #29BB2B
tetradic
#2B29BB #BB2970 #B9BB29 #29BB74
square
#2B29BB #BB2970 #B9BB29 #29BB74
split-complementary
#2B29BB #BB7429 #70BB29
monochromatic
#141357 #1F1E89 #2B29BB #4C4AD7 #7E7CE2

Accessibility & contrast

On white

9.83
#2B29BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B29BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29BB
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29BB#FFFFFF#000000##FFFFFF
##2B29BB1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b29bb;
/* rgb */ color: rgb(43, 41, 187);
/* oklch */ color: oklch(40.6% 0.217 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e66d1',
    500: '#2b29bb',
    950: '#000000',
  },
}
SCSS
$custom: #2b29bb;
$custom-light: #7e66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29bb",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 240.822,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40594,
    "c": 0.21667,
    "h": 271.8
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#2B29BB
secondary
#C9CB75
accent
#E741E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2B29BB

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

Preview Lab → · Contrast checker → · Palette generator →

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