#2C29AA#2C29AA

#2C29AA is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.196 H 273.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2C29AA
RGBrgb(44, 41, 170)
HSLhsl(241, 61%, 41%)
HSVhsv(241, 76%, 67%)
CMYKcmyk(74.1%, 75.9%, 0%, 33.3%)
CIE-LABlab(26.80, 44.13, -67.65)
CIE-LCHlch(26.80, 80.77, 303.12°)
OKLaboklab(38.79% 0.0115 -0.1957)
OKLCHoklch(38.79% 0.196 273.4)
XYZxyz(9.0849, 5.0227, 38.5131)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29AA #A7AA29
analogous
#2967AA #2C29AA #6D29AA
triadic
#2C29AA #AA2C29 #29AA2C
tetradic
#2C29AA #AA2967 #A7AA29 #29AA6D
square
#2C29AA #AA2967 #A7AA29 #29AA6D
split-complementary
#2C29AA #AA6D29 #67AA29
monochromatic
#121147 #1F1D79 #2C29AA #433FD1 #7371DD

Accessibility & contrast

On white

10.47
#2C29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29AA
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29AA#FFFFFF#000000##FFFFFF
##2C29AA1.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#0039A8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c29aa;
/* rgb */ color: rgb(44, 41, 170);
/* oklch */ color: oklch(38.8% 0.196 273.4);
Tailwind
colors: {
  custom: {
    50: '#7a65c5',
    500: '#2c29aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c29aa;
$custom-light: #7a65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29aa",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 241.395,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38789,
    "c": 0.19608,
    "h": 273.4
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#2C29AA
secondary
#C2C46B
accent
#E444E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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