#2D29A4#2D29A4

#2D29A4 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.188 H 274.2°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2D29A4
RGBrgb(45, 41, 164)
HSLhsl(242, 60%, 40%)
HSVhsv(242, 75%, 64%)
CMYKcmyk(72.6%, 75%, 0%, 35.7%)
CIE-LABlab(26.23, 42.23, -64.97)
CIE-LCHlch(26.23, 77.49, 303.03°)
OKLaboklab(38.21% 0.014 -0.1879)
OKLCHoklch(38.21% 0.188 274.2)
XYZxyz(8.5737, 4.8233, 35.5939)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29A4 #A0A429
analogous
#2963A4 #2D29A4 #6A29A4
triadic
#2D29A4 #A42D29 #29A42D
tetradic
#2D29A4 #A42963 #A0A429 #29A46A
square
#2D29A4 #A42963 #A0A429 #29A46A
split-complementary
#2D29A4 #A46A29 #63A429
monochromatic
#121142 #201D73 #2D29A4 #413CCE #706DDA

Accessibility & contrast

On white

10.69
#2D29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2D29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29A4
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29A4#FFFFFF#000000##FFFFFF
##2D29A41.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#0038A2
Tritanopia (blue-blind)
#004D64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d29a4;
/* rgb */ color: rgb(45, 41, 164);
/* oklch */ color: oklch(38.2% 0.188 274.2);
Tailwind
colors: {
  custom: {
    50: '#7965c0',
    500: '#2d29a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d29a4;
$custom-light: #7965c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29a4",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 241.951,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3821,
    "c": 0.18844,
    "h": 274.2
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#2D29A4
secondary
#BEC168
accent
#E345DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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