#2C29A4#2C29A4

#2C29A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.189 H 273.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2C29A4
RGBrgb(44, 41, 164)
HSLhsl(241, 60%, 40%)
HSVhsv(241, 75%, 64%)
CMYKcmyk(73.2%, 75%, 0%, 35.7%)
CIE-LABlab(26.16, 42.14, -65.08)
CIE-LCHlch(26.16, 77.53, 302.92°)
OKLaboklab(38.15% 0.0127 -0.1883)
OKLCHoklch(38.15% 0.189 273.9)
XYZxyz(8.5303, 4.8008, 35.5919)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29A4 #A1A429
analogous
#2964A4 #2C29A4 #6929A4
triadic
#2C29A4 #A42C29 #29A42C
tetradic
#2C29A4 #A42964 #A1A429 #29A469
square
#2C29A4 #A42964 #A1A429 #29A469
split-complementary
#2C29A4 #A46929 #64A429
monochromatic
#121142 #1F1D73 #2C29A4 #403CCE #706DDA

Accessibility & contrast

On white

10.71
#2C29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29A4
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29A4#FFFFFF#000000##FFFFFF
##2C29A41.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c29a4;
/* rgb */ color: rgb(44, 41, 164);
/* oklch */ color: oklch(38.1% 0.189 273.9);
Tailwind
colors: {
  custom: {
    50: '#7864c0',
    500: '#2c29a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c29a4;
$custom-light: #7864c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29a4",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 241.463,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38146,
    "c": 0.18869,
    "h": 273.9
  },
  "luminance": 0.04802
}

Semantic roles & 50–950 ramp

primary
#2C29A4
secondary
#BFC168
accent
#E345DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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