#2C29A9#2C29A9

#2C29A9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.195 H 273.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2C29A9
RGBrgb(44, 41, 169)
HSLhsl(241, 61%, 41%)
HSVhsv(241, 76%, 66%)
CMYKcmyk(74%, 75.7%, 0%, 33.7%)
CIE-LABlab(26.69, 43.80, -67.23)
CIE-LCHlch(26.69, 80.24, 303.09°)
OKLaboklab(38.68% 0.0117 -0.1945)
OKLCHoklch(38.68% 0.195 273.5)
XYZxyz(8.9907, 4.9850, 38.0168)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C29A9 #A6A929
analogous
#2966A9 #2C29A9 #6C29A9
triadic
#2C29A9 #A92C29 #29A92C
tetradic
#2C29A9 #A92966 #A6A929 #29A96C
square
#2C29A9 #A92966 #A6A929 #29A96C
split-complementary
#2C29A9 #A96C29 #66A929
monochromatic
#121146 #1F1D78 #2C29A9 #423FD0 #7370DC

Accessibility & contrast

On white

10.51
#2C29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C29A9
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C29A9#FFFFFF#000000##FFFFFF
##2C29A91.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c29a9;
/* rgb */ color: rgb(44, 41, 169);
/* oklch */ color: oklch(38.7% 0.195 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a65c4',
    500: '#2c29a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c29a9;
$custom-light: #7a65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c29a9",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 241.406,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.19485,
    "h": 273.5
  },
  "luminance": 0.04986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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