#2D29AB#2D29AB

#2D29AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.197 H 273.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#2D29AB
RGBrgb(45, 41, 171)
HSLhsl(242, 61%, 42%)
HSVhsv(242, 76%, 67%)
CMYKcmyk(73.7%, 76%, 0%, 32.9%)
CIE-LABlab(26.97, 44.55, -67.97)
CIE-LCHlch(26.97, 81.27, 303.24°)
OKLaboklab(38.96% 0.0126 -0.1966)
OKLCHoklch(38.96% 0.197 273.7)
XYZxyz(9.2234, 5.0831, 39.0152)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D29AB #A7AB29
analogous
#2966AB #2D29AB #6E29AB
triadic
#2D29AB #AB2D29 #29AB2D
tetradic
#2D29AB #AB2966 #A7AB29 #29AB6E
square
#2D29AB #AB2966 #A7AB29 #29AB6E
split-complementary
#2D29AB #AB6E29 #66AB29
monochromatic
#131148 #201D7A #2D29AB #4440D1 #7571DD

Accessibility & contrast

On white

10.41
#2D29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D29AB
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D29AB#FFFFFF#000000##FFFFFF
##2D29AB1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d29ab;
/* rgb */ color: rgb(45, 41, 171);
/* oklch */ color: oklch(39.0% 0.197 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a65c5',
    500: '#2d29ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d29ab;
$custom-light: #7a65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d29ab",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 241.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38958,
    "c": 0.19704,
    "h": 273.7
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#2D29AB
secondary
#C1C46C
accent
#E443DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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