#2B29AB#2B29AB

#2B29AB is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.198 H 272.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2B29AB
RGBrgb(43, 41, 171)
HSLhsl(241, 61%, 42%)
HSVhsv(241, 76%, 67%)
CMYKcmyk(74.9%, 76%, 0%, 32.9%)
CIE-LABlab(26.84, 44.37, -68.18)
CIE-LCHlch(26.84, 81.35, 303.06°)
OKLaboklab(38.84% 0.0101 -0.1973)
OKLCHoklch(38.84% 0.198 272.9)
XYZxyz(9.1374, 5.0388, 39.0112)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29AB #A9AB29
analogous
#2968AB #2B29AB #6C29AB
triadic
#2B29AB #AB2B29 #29AB2B
tetradic
#2B29AB #AB2968 #A9AB29 #29AB6C
square
#2B29AB #AB2968 #A9AB29 #29AB6C
split-complementary
#2B29AB #AB6C29 #68AB29
monochromatic
#121148 #1F1D7A #2B29AB #4240D1 #7371DD

Accessibility & contrast

On white

10.46
#2B29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29AB
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29AB#FFFFFF#000000##FFFFFF
##2B29AB1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b29ab;
/* rgb */ color: rgb(43, 41, 171);
/* oklch */ color: oklch(38.8% 0.198 272.9);
Tailwind
colors: {
  custom: {
    50: '#7a65c5',
    500: '#2b29ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b29ab;
$custom-light: #7a65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29ab",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 240.923,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38836,
    "c": 0.19755,
    "h": 272.9
  },
  "luminance": 0.0504
}

Semantic roles & 50–950 ramp

primary
#2B29AB
secondary
#C3C46C
accent
#E443E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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