#2D29A9#2D29A9

#2D29A9 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.195 H 273.8°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2D29A9
RGBrgb(45, 41, 169)
HSLhsl(242, 61%, 41%)
HSVhsv(242, 76%, 66%)
CMYKcmyk(73.4%, 75.7%, 0%, 33.7%)
CIE-LABlab(26.76, 43.89, -67.12)
CIE-LCHlch(26.76, 80.20, 303.18°)
OKLaboklab(38.74% 0.013 -0.1942)
OKLCHoklch(38.74% 0.195 273.8)
XYZxyz(9.0342, 5.0074, 38.0188)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29A9 #A5A929
analogous
#2965A9 #2D29A9 #6D29A9
triadic
#2D29A9 #A92D29 #29A92D
tetradic
#2D29A9 #A92965 #A5A929 #29A96D
square
#2D29A9 #A92965 #A5A929 #29A96D
split-complementary
#2D29A9 #A96D29 #65A929
monochromatic
#131146 #201D78 #2D29A9 #433FD0 #7370DC

Accessibility & contrast

On white

10.49
#2D29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29A9
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29A9#FFFFFF#000000##FFFFFF
##2D29A91.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d29a9;
/* rgb */ color: rgb(45, 41, 169);
/* oklch */ color: oklch(38.7% 0.195 273.8);
Tailwind
colors: {
  custom: {
    50: '#7a65c4',
    500: '#2d29a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d29a9;
$custom-light: #7a65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29a9",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 241.875,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38743,
    "c": 0.19459,
    "h": 273.8
  },
  "luminance": 0.05008
}

Semantic roles & 50–950 ramp

primary
#2D29A9
secondary
#C1C36A
accent
#E444DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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