#2C29BA#2C29BA

#2C29BA is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.215 H 272.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2C29BA
RGBrgb(44, 41, 186)
HSLhsl(241, 64%, 45%)
HSVhsv(241, 78%, 73%)
CMYKcmyk(76.3%, 78%, 0%, 27.1%)
CIE-LABlab(28.55, 49.33, -74.31)
CIE-LCHlch(28.55, 89.19, 303.58°)
OKLaboklab(40.54% 0.0083 -0.2151)
OKLCHoklch(40.54% 0.215 272.2)
XYZxyz(10.6916, 5.6654, 46.9749)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29BA #B7BA29
analogous
#296FBA #2C29BA #7429BA
triadic
#2C29BA #BA2C29 #29BA2C
tetradic
#2C29BA #BA296F #B7BA29 #29BA74
square
#2C29BA #BA296F #B7BA29 #29BA74
split-complementary
#2C29BA #BA7429 #6FBA29
monochromatic
#141356 #201E88 #2C29BA #4C49D7 #7E7BE2

Accessibility & contrast

On white

9.84
#2C29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29BA
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29BA#FFFFFF#000000##FFFFFF
##2C29BA1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003CB7
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c29ba;
/* rgb */ color: rgb(44, 41, 186);
/* oklch */ color: oklch(40.5% 0.215 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e66d0',
    500: '#2c29ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c29ba;
$custom-light: #7e66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29ba",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 241.241,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40539,
    "c": 0.21524,
    "h": 272.2
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#2C29BA
secondary
#C8CA75
accent
#E741E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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