#2B29C2#2B29C2

#2B29C2 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.225 H 271.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2B29C2
RGBrgb(43, 41, 194)
HSLhsl(241, 65%, 46%)
HSVhsv(241, 79%, 76%)
CMYKcmyk(77.8%, 78.9%, 0%, 23.9%)
CIE-LABlab(29.40, 51.80, -77.64)
CIE-LCHlch(29.40, 93.33, 303.71°)
OKLaboklab(41.38% 0.0055 -0.2248)
OKLCHoklch(41.38% 0.225 271.4)
XYZxyz(11.5235, 5.9932, 51.5780)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B29C2 #C0C229
analogous
#2973C2 #2B29C2 #7729C2
triadic
#2B29C2 #C22B29 #29C22B
tetradic
#2B29C2 #C22973 #C0C229 #29C277
square
#2B29C2 #C22973 #C0C229 #29C277
split-complementary
#2B29C2 #C27729 #73C229
monochromatic
#15145D #201E8F #2B29C2 #504EDA #8281E4

Accessibility & contrast

On white

9.55
#2B29C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B29C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B29C2
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B29C2#FFFFFF#000000##FFFFFF
##2B29C21.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC6
Deuteranopia (green-blind)
#003DBF
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b29c2;
/* rgb */ color: rgb(43, 41, 194);
/* oklch */ color: oklch(41.4% 0.225 271.4);
Tailwind
colors: {
  custom: {
    50: '#7f66d6',
    500: '#2b29c2',
    950: '#000000',
  },
}
SCSS
$custom: #2b29c2;
$custom-light: #7f66d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b29c2",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 240.784,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41377,
    "c": 0.22483,
    "h": 271.4
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#2B29C2
secondary
#CCCD7A
accent
#E840E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2B29C2

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

Preview Lab → · Contrast checker → · Palette generator →

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