#2D29B3#2D29B3

#2D29B3 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.8% C 0.207 H 273.0°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2D29B3
RGBrgb(45, 41, 179)
HSLhsl(242, 63%, 43%)
HSVhsv(242, 77%, 70%)
CMYKcmyk(74.9%, 77.1%, 0%, 29.8%)
CIE-LABlab(27.84, 47.16, -71.33)
CIE-LCHlch(27.84, 85.50, 303.47°)
OKLaboklab(39.83% 0.0109 -0.2064)
OKLCHoklch(39.83% 0.207 273)
XYZxyz(10.0091, 5.3974, 43.1534)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29B3 #AFB329
analogous
#296AB3 #2D29B3 #7229B3
triadic
#2D29B3 #B32D29 #29B32D
tetradic
#2D29B3 #B3296A #AFB329 #29B372
square
#2D29B3 #B3296A #AFB329 #29B372
split-complementary
#2D29B3 #B37229 #6AB329
monochromatic
#14124F #201E81 #2D29B3 #4945D4 #7A77E0

Accessibility & contrast

On white

10.10
#2D29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2D29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29B3
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29B3#FFFFFF#000000##FFFFFF
##2D29B31.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003BB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d29b3;
/* rgb */ color: rgb(45, 41, 179);
/* oklch */ color: oklch(39.8% 0.207 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c65cb',
    500: '#2d29b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d29b3;
$custom-light: #7c65cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29b3",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 241.739,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.20669,
    "h": 273
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#2D29B3
secondary
#C5C770
accent
#E642E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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