#2C29A6#2C29A6

#2C29A6 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.191 H 273.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2C29A6
RGBrgb(44, 41, 166)
HSLhsl(241, 60%, 41%)
HSVhsv(241, 75%, 65%)
CMYKcmyk(73.5%, 75.3%, 0%, 34.9%)
CIE-LABlab(26.37, 42.81, -65.94)
CIE-LCHlch(26.37, 78.62, 302.99°)
OKLaboklab(38.36% 0.0123 -0.1908)
OKLCHoklch(38.36% 0.191 273.7)
XYZxyz(8.7123, 4.8736, 36.5506)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29A6 #A3A629
analogous
#2964A6 #2C29A6 #6A29A6
triadic
#2C29A6 #A62C29 #29A62C
tetradic
#2C29A6 #A62964 #A3A629 #29A66A
square
#2C29A6 #A62964 #A3A629 #29A66A
split-complementary
#2C29A6 #A66A29 #64A629
monochromatic
#121144 #1F1D75 #2C29A6 #413DCF #716EDB

Accessibility & contrast

On white

10.63
#2C29A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C29A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29A6
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29A6#FFFFFF#000000##FFFFFF
##2C29A61.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#0038A4
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c29a6;
/* rgb */ color: rgb(44, 41, 166);
/* oklch */ color: oklch(38.4% 0.191 273.7);
Tailwind
colors: {
  custom: {
    50: '#7965c2',
    500: '#2c29a6',
    950: '#000000',
  },
}
SCSS
$custom: #2c29a6;
$custom-light: #7965c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29a6",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 241.44,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.19117,
    "h": 273.7
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#2C29A6
secondary
#C0C269
accent
#E444E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C29A6

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

Preview Lab → · Contrast checker → · Palette generator →

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