#2D29B7#2D29B7

#2D29B7 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.211 H 272.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#2D29B7
RGBrgb(45, 41, 183)
HSLhsl(242, 63%, 44%)
HSVhsv(242, 78%, 72%)
CMYKcmyk(75.4%, 77.6%, 0%, 28.2%)
CIE-LABlab(28.28, 48.44, -72.98)
CIE-LCHlch(28.28, 87.59, 303.58°)
OKLaboklab(40.27% 0.0101 -0.2112)
OKLCHoklch(40.27% 0.211 272.7)
XYZxyz(10.4195, 5.5616, 45.3149)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29B7 #B3B729
analogous
#296CB7 #2D29B7 #7429B7
triadic
#2D29B7 #B72D29 #29B72D
tetradic
#2D29B7 #B7296C #B3B729 #29B774
square
#2D29B7 #B7296C #B3B729 #29B774
split-complementary
#2D29B7 #B77429 #6CB729
monochromatic
#141353 #211E85 #2D29B7 #4B47D6 #7C79E1

Accessibility & contrast

On white

9.94
#2D29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2D29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29B7
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29B7#FFFFFF#000000##FFFFFF
##2D29B71.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BB
Deuteranopia (green-blind)
#003CB5
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d29b7;
/* rgb */ color: rgb(45, 41, 183);
/* oklch */ color: oklch(40.3% 0.211 272.7);
Tailwind
colors: {
  custom: {
    50: '#7d66ce',
    500: '#2d29b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d29b7;
$custom-light: #7d66ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29b7",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 241.69,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40265,
    "c": 0.21144,
    "h": 272.7
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#2D29B7
secondary
#C7C973
accent
#E641E2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #2D29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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