#2D29C5#2D29C5

#2D29C5 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.228 H 271.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2D29C5
RGBrgb(45, 41, 197)
HSLhsl(242, 66%, 47%)
HSVhsv(242, 79%, 77%)
CMYKcmyk(77.2%, 79.2%, 0%, 22.7%)
CIE-LABlab(29.85, 52.87, -78.65)
CIE-LCHlch(29.85, 94.77, 303.91°)
OKLaboklab(41.82% 0.0071 -0.2276)
OKLCHoklch(41.82% 0.228 271.8)
XYZxyz(11.9498, 6.1737, 53.3743)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29C5 #C1C529
analogous
#2973C5 #2D29C5 #7B29C5
triadic
#2D29C5 #C52D29 #29C52D
tetradic
#2D29C5 #C52973 #C1C529 #29C57B
square
#2D29C5 #C52973 #C1C529 #29C57B
split-complementary
#2D29C5 #C57B29 #73C529
monochromatic
#161460 #211E92 #2D29C5 #5451DB #8683E5

Accessibility & contrast

On white

9.40
#2D29C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D29C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29C5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29C5#FFFFFF#000000##FFFFFF
##2D29C51.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#003EC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d29c5;
/* rgb */ color: rgb(45, 41, 197);
/* oklch */ color: oklch(41.8% 0.228 271.8);
Tailwind
colors: {
  custom: {
    50: '#8166d8',
    500: '#2d29c5',
    950: '#000000',
  },
}
SCSS
$custom: #2d29c5;
$custom-light: #8166d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29c5",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 241.538,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.41821,
    "c": 0.22776,
    "h": 271.8
  },
  "luminance": 0.06175
}

Semantic roles & 50–950 ramp

primary
#2D29C5
secondary
#CCCE7C
accent
#E83FE4
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2D29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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