#2C29AB#2C29AB

#2C29AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.197 H 273.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2C29AB
RGBrgb(44, 41, 171)
HSLhsl(241, 61%, 42%)
HSVhsv(241, 76%, 67%)
CMYKcmyk(74.3%, 76%, 0%, 32.9%)
CIE-LABlab(26.91, 44.46, -68.07)
CIE-LCHlch(26.91, 81.31, 303.15°)
OKLaboklab(38.9% 0.0113 -0.197)
OKLCHoklch(38.9% 0.197 273.3)
XYZxyz(9.1799, 5.0607, 39.0132)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29AB #A8AB29
analogous
#2967AB #2C29AB #6D29AB
triadic
#2C29AB #AB2C29 #29AB2C
tetradic
#2C29AB #AB2967 #A8AB29 #29AB6D
square
#2C29AB #AB2967 #A8AB29 #29AB6D
split-complementary
#2C29AB #AB6D29 #67AB29
monochromatic
#131148 #1F1D7A #2C29AB #4340D1 #7471DD

Accessibility & contrast

On white

10.44
#2C29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C29AB
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29AB#FFFFFF#000000##FFFFFF
##2C29AB1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c29ab;
/* rgb */ color: rgb(44, 41, 171);
/* oklch */ color: oklch(38.9% 0.197 273.3);
Tailwind
colors: {
  custom: {
    50: '#7a65c5',
    500: '#2c29ab',
    950: '#000000',
  },
}
SCSS
$custom: #2c29ab;
$custom-light: #7a65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29ab",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 241.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.1973,
    "h": 273.3
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#2C29AB
secondary
#C2C46C
accent
#E443E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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