#2B29B7#2B29B7

#2B29B7 is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.212 H 272.1°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#2B29B7
RGBrgb(43, 41, 183)
HSLhsl(241, 63%, 44%)
HSVhsv(241, 78%, 72%)
CMYKcmyk(76.5%, 77.6%, 0%, 28.2%)
CIE-LABlab(28.16, 48.29, -73.18)
CIE-LCHlch(28.16, 87.68, 303.42°)
OKLaboklab(40.15% 0.0077 -0.2118)
OKLCHoklch(40.15% 0.212 272.1)
XYZxyz(10.3336, 5.5173, 45.3109)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29B7 #B5B729
analogous
#296EB7 #2B29B7 #7229B7
triadic
#2B29B7 #B72B29 #29B72B
tetradic
#2B29B7 #B7296E #B5B729 #29B772
square
#2B29B7 #B7296E #B5B729 #29B772
split-complementary
#2B29B7 #B77229 #6EB729
monochromatic
#141353 #1F1E85 #2B29B7 #4947D6 #7B79E1

Accessibility & contrast

On white

9.98
#2B29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29B7
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29B7#FFFFFF#000000##FFFFFF
##2B29B71.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003BB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b29b7;
/* rgb */ color: rgb(43, 41, 183);
/* oklch */ color: oklch(40.2% 0.212 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d65ce',
    500: '#2b29b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b29b7;
$custom-light: #7d65ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29b7",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 240.845,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40151,
    "c": 0.21196,
    "h": 272.1
  },
  "luminance": 0.05518
}

Semantic roles & 50–950 ramp

primary
#2B29B7
secondary
#C8C973
accent
#E641E4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2B29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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