#29178C#29178C

#29178C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.177 H 277.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#29178C
RGBrgb(41, 23, 140)
HSLhsl(249, 72%, 32%)
HSVhsv(249, 84%, 55%)
CMYKcmyk(70.7%, 83.6%, 0%, 45.1%)
CIE-LABlab(19.95, 43.60, -60.59)
CIE-LCHlch(19.95, 74.65, 305.74°)
OKLaboklab(32.95% 0.023 -0.1751)
OKLCHoklch(32.95% 0.177 277.5)
XYZxyz(5.9529, 2.9771, 25.0668)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29178C #7A8C17
analogous
#17408C #29178C #64178C
triadic
#29178C #8C2917 #178C29
tetradic
#29178C #8C1740 #7A8C17 #178C64
square
#29178C #8C1740 #7A8C17 #178C64
split-complementary
#29178C #8C6417 #408C17
monochromatic
#0A0623 #1A0E57 #29178C #3820C1 #573EDF

Accessibility & contrast

On white

13.16
#29178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#29178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29178C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29178C#FFFFFF#000000##FFFFFF
##29178C1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002B8A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #29178c;
/* rgb */ color: rgb(41, 23, 140);
/* oklch */ color: oklch(32.9% 0.177 277.5);
Tailwind
colors: {
  custom: {
    50: '#7359af',
    500: '#29178c',
    950: '#000000',
  },
}
SCSS
$custom: #29178c;
$custom-light: #7359af;
$custom-dark: #000000;
JSON
{
  "hex": "#29178c",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 249.231,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32949,
    "c": 0.17657,
    "h": 277.5
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#29178C
secondary
#ACBF3F
accent
#EF39D3
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #29178C

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

Preview Lab → · Contrast checker → · Palette generator →

#29178C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva