#2D29BB#2D29BB

#2D29BB is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.216 H 272.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2D29BB
RGBrgb(45, 41, 187)
HSLhsl(242, 64%, 45%)
HSVhsv(242, 78%, 73%)
CMYKcmyk(75.9%, 78.1%, 0%, 26.7%)
CIE-LABlab(28.72, 49.72, -74.62)
CIE-LCHlch(28.72, 89.67, 303.68°)
OKLaboklab(40.71% 0.0092 -0.216)
OKLCHoklch(40.71% 0.216 272.4)
XYZxyz(10.8418, 5.7305, 47.5388)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29BB #B7BB29
analogous
#296EBB #2D29BB #7629BB
triadic
#2D29BB #BB2D29 #29BB2D
tetradic
#2D29BB #BB296E #B7BB29 #29BB76
square
#2D29BB #BB296E #B7BB29 #29BB76
split-complementary
#2D29BB #BB7629 #6EBB29
monochromatic
#151357 #211E89 #2D29BB #4E4AD7 #7F7CE2

Accessibility & contrast

On white

9.78
#2D29BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D29BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29BB
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29BB#FFFFFF#000000##FFFFFF
##2D29BB1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d29bb;
/* rgb */ color: rgb(45, 41, 187);
/* oklch */ color: oklch(40.7% 0.216 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e66d1',
    500: '#2d29bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d29bb;
$custom-light: #7e66d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29bb",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 241.644,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40706,
    "c": 0.21616,
    "h": 272.4
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#2D29BB
secondary
#C8CB75
accent
#E741E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D29BB

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

Preview Lab → · Contrast checker → · Palette generator →

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