#2D29A3#2D29A3

#2D29A3 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.187 H 274.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2D29A3
RGBrgb(45, 41, 163)
HSLhsl(242, 60%, 40%)
HSVhsv(242, 75%, 64%)
CMYKcmyk(72.4%, 74.8%, 0%, 36.1%)
CIE-LABlab(26.12, 41.90, -64.54)
CIE-LCHlch(26.12, 76.95, 302.99°)
OKLaboklab(38.1% 0.0142 -0.1867)
OKLCHoklch(38.1% 0.187 274.3)
XYZxyz(8.4838, 4.7873, 35.1202)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29A3 #9FA329
analogous
#2962A3 #2D29A3 #6A29A3
triadic
#2D29A3 #A32D29 #29A32D
tetradic
#2D29A3 #A32962 #9FA329 #29A36A
square
#2D29A3 #A32962 #9FA329 #29A36A
split-complementary
#2D29A3 #A36A29 #62A329
monochromatic
#121041 #1F1D72 #2D29A3 #403BCE #706CDA

Accessibility & contrast

On white

10.73
#2D29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D29A3
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29A3#FFFFFF#000000##FFFFFF
##2D29A31.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d29a3;
/* rgb */ color: rgb(45, 41, 163);
/* oklch */ color: oklch(38.1% 0.187 274.3);
Tailwind
colors: {
  custom: {
    50: '#7964bf',
    500: '#2d29a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d29a3;
$custom-light: #7964bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29a3",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 241.967,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.38104,
    "c": 0.1872,
    "h": 274.3
  },
  "luminance": 0.04788
}

Semantic roles & 50–950 ramp

primary
#2D29A3
secondary
#BEC167
accent
#E345DE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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