#2C29AC#2C29AC

#2C29AC is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.199 H 273.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#2C29AC
RGBrgb(44, 41, 172)
HSLhsl(241, 62%, 42%)
HSVhsv(241, 76%, 67%)
CMYKcmyk(74.4%, 76.2%, 0%, 32.5%)
CIE-LABlab(27.02, 44.79, -68.50)
CIE-LCHlch(27.02, 81.84, 303.18°)
OKLaboklab(39.01% 0.0111 -0.1982)
OKLCHoklch(39.01% 0.199 273.2)
XYZxyz(9.2755, 5.0990, 39.5171)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29AC #A9AC29
analogous
#2968AC #2C29AC #6E29AC
triadic
#2C29AC #AC2C29 #29AC2C
tetradic
#2C29AC #AC2968 #A9AC29 #29AC6E
square
#2C29AC #AC2968 #A9AC29 #29AC6E
split-complementary
#2C29AC #AC6E29 #68AC29
monochromatic
#131149 #1F1D7B #2C29AC #4441D2 #7472DD

Accessibility & contrast

On white

10.40
#2C29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2C29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29AC
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29AC#FFFFFF#000000##FFFFFF
##2C29AC1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c29ac;
/* rgb */ color: rgb(44, 41, 172);
/* oklch */ color: oklch(39.0% 0.199 273.2);
Tailwind
colors: {
  custom: {
    50: '#7a65c6',
    500: '#2c29ac',
    950: '#000000',
  },
}
SCSS
$custom: #2c29ac;
$custom-light: #7a65c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29ac",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 241.374,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39005,
    "c": 0.19851,
    "h": 273.2
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#2C29AC
secondary
#C3C56C
accent
#E543E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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