#2D29B1#2D29B1

#2D29B1 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.6% C 0.204 H 273.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#2D29B1
RGBrgb(45, 41, 177)
HSLhsl(242, 62%, 43%)
HSVhsv(242, 77%, 69%)
CMYKcmyk(74.6%, 76.8%, 0%, 30.6%)
CIE-LABlab(27.62, 46.51, -70.49)
CIE-LCHlch(27.62, 84.45, 303.42°)
OKLaboklab(39.61% 0.0113 -0.204)
OKLCHoklch(39.61% 0.204 273.2)
XYZxyz(9.8083, 5.3171, 42.0958)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29B1 #ADB129
analogous
#2969B1 #2D29B1 #7129B1
triadic
#2D29B1 #B12D29 #29B12D
tetradic
#2D29B1 #B12969 #ADB129 #29B171
square
#2D29B1 #B12969 #ADB129 #29B171
split-complementary
#2D29B1 #B17129 #69B129
monochromatic
#14124E #201D7F #2D29B1 #4844D4 #7875DF

Accessibility & contrast

On white

10.18
#2D29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29B1
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29B1#FFFFFF#000000##FFFFFF
##2D29B11.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d29b1;
/* rgb */ color: rgb(45, 41, 177);
/* oklch */ color: oklch(39.6% 0.204 273.2);
Tailwind
colors: {
  custom: {
    50: '#7c65ca',
    500: '#2d29b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d29b1;
$custom-light: #7c65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29b1",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 241.765,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.20429,
    "h": 273.2
  },
  "luminance": 0.05318
}

Semantic roles & 50–950 ramp

primary
#2D29B1
secondary
#C4C76F
accent
#E542E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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