#2C29A1#2C29A1

#2C29A1 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.8% C 0.185 H 274.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2C29A1
RGBrgb(44, 41, 161)
HSLhsl(242, 59%, 40%)
HSVhsv(242, 75%, 63%)
CMYKcmyk(72.7%, 74.5%, 0%, 36.9%)
CIE-LABlab(25.84, 41.13, -63.78)
CIE-LCHlch(25.84, 75.90, 302.82°)
OKLaboklab(37.83% 0.0133 -0.1845)
OKLCHoklch(37.83% 0.185 274.1)
XYZxyz(8.2625, 4.6937, 34.1818)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29A1 #9EA129
analogous
#2962A1 #2C29A1 #6829A1
triadic
#2C29A1 #A12C29 #29A12C
tetradic
#2C29A1 #A12962 #9EA129 #29A168
square
#2C29A1 #A12962 #9EA129 #29A168
split-complementary
#2C29A1 #A16829 #62A129
monochromatic
#11103F #1F1D70 #2C29A1 #3E3ACD #6E6BD9

Accessibility & contrast

On white

10.83
#2C29A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C29A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C29A1
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29A1#FFFFFF#000000##FFFFFF
##2C29A11.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c29a1;
/* rgb */ color: rgb(44, 41, 161);
/* oklch */ color: oklch(37.8% 0.185 274.1);
Tailwind
colors: {
  custom: {
    50: '#7864be',
    500: '#2c29a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c29a1;
$custom-light: #7864be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29a1",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 161
  },
  "hsl": {
    "h": 241.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37828,
    "c": 0.18496,
    "h": 274.1
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#2C29A1
secondary
#BEC066
accent
#E345DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2C29A1

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

Preview Lab → · Contrast checker → · Palette generator →

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