#2D29C1#2D29C1

#2D29C1 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.223 H 272.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2D29C1
RGBrgb(45, 41, 193)
HSLhsl(242, 65%, 46%)
HSVhsv(242, 79%, 76%)
CMYKcmyk(76.7%, 78.8%, 0%, 24.3%)
CIE-LABlab(29.39, 51.62, -77.05)
CIE-LCHlch(29.39, 92.74, 303.82°)
OKLaboklab(41.37% 0.008 -0.223)
OKLCHoklch(41.37% 0.223 272)
XYZxyz(11.4975, 5.9928, 50.9925)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29C1 #BDC129
analogous
#2971C1 #2D29C1 #7929C1
triadic
#2D29C1 #C12D29 #29C12D
tetradic
#2D29C1 #C12971 #BDC129 #29C179
square
#2D29C1 #C12971 #BDC129 #29C179
split-complementary
#2D29C1 #C17929 #71C129
monochromatic
#15145C #211E8F #2D29C1 #524ED9 #8380E4

Accessibility & contrast

On white

9.55
#2D29C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D29C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29C1
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29C1#FFFFFF#000000##FFFFFF
##2D29C11.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC5
Deuteranopia (green-blind)
#003EBE
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d29c1;
/* rgb */ color: rgb(45, 41, 193);
/* oklch */ color: oklch(41.4% 0.223 272.0);
Tailwind
colors: {
  custom: {
    50: '#8066d5',
    500: '#2d29c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d29c1;
$custom-light: #8066d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29c1",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 193
  },
  "hsl": {
    "h": 241.579,
    "s": 64.957,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41373,
    "c": 0.22315,
    "h": 272
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#2D29C1
secondary
#CBCD79
accent
#E840E4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D29C1

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

Preview Lab → · Contrast checker → · Palette generator →

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