#29298B#29298B

#29298B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.157 H 274.8°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#29298B
RGBrgb(41, 41, 139)
HSLhsl(240, 54%, 35%)
HSVhsv(240, 71%, 55%)
CMYKcmyk(70.5%, 70.5%, 0%, 45.5%)
CIE-LABlab(23.41, 33.19, -54.27)
CIE-LCHlch(23.41, 63.61, 301.45°)
OKLaboklab(35.36% 0.0131 -0.1568)
OKLCHoklch(35.36% 0.157 274.8)
XYZxyz(6.3660, 3.9208, 24.8424)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29298B #8B8B29
analogous
#295A8B #29298B #5A298B
triadic
#29298B #8B2929 #298B29
tetradic
#29298B #8B295A #8B8B29 #298B5A
square
#29298B #8B295A #8B8B29 #298B5A
split-complementary
#29298B #8B5A29 #5A8B29
monochromatic
#0D0D2C #1B1B5C #29298B #3737BA #5F5FD0

Accessibility & contrast

On white

11.77
#29298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#29298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29298B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29298B#FFFFFF#000000##FFFFFF
##29298B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #29298b;
/* rgb */ color: rgb(41, 41, 139);
/* oklch */ color: oklch(35.4% 0.157 274.8);
Tailwind
colors: {
  custom: {
    50: '#7163ae',
    500: '#29298b',
    950: '#000000',
  },
}
SCSS
$custom: #29298b;
$custom-light: #7163ae;
$custom-dark: #000000;
JSON
{
  "hex": "#29298b",
  "rgb": {
    "r": 41,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 240,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35359,
    "c": 0.15733,
    "h": 274.8
  },
  "luminance": 0.03921
}

Semantic roles & 50–950 ramp

primary
#29298B
secondary
#B5B55B
accent
#DE4ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #29298B

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

Preview Lab → · Contrast checker → · Palette generator →

#29298B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva