#29178B#29178B

#29178B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.8% C 0.175 H 277.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#29178B
RGBrgb(41, 23, 139)
HSLhsl(249, 72%, 32%)
HSVhsv(249, 83%, 55%)
CMYKcmyk(70.5%, 83.5%, 0%, 45.5%)
CIE-LABlab(19.83, 43.29, -60.16)
CIE-LCHlch(19.83, 74.12, 305.74°)
OKLaboklab(32.83% 0.0233 -0.1738)
OKLCHoklch(32.83% 0.175 277.6)
XYZxyz(5.8795, 2.9478, 24.6802)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29178B #798B17
analogous
#173F8B #29178B #63178B
triadic
#29178B #8B2917 #178B29
tetradic
#29178B #8B173F #798B17 #178B63
square
#29178B #8B173F #798B17 #178B63
split-complementary
#29178B #8B6317 #3F8B17
monochromatic
#0A0622 #1A0E56 #29178B #3820C0 #563DDF

Accessibility & contrast

On white

13.21
#29178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#29178B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29178B
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29178B#FFFFFF#000000##FFFFFF
##29178B1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348E
Deuteranopia (green-blind)
#002B89
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #29178b;
/* rgb */ color: rgb(41, 23, 139);
/* oklch */ color: oklch(32.8% 0.175 277.6);
Tailwind
colors: {
  custom: {
    50: '#7358ae',
    500: '#29178b',
    950: '#000000',
  },
}
SCSS
$custom: #29178b;
$custom-light: #7358ae;
$custom-dark: #000000;
JSON
{
  "hex": "#29178b",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 249.31,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32833,
    "c": 0.17537,
    "h": 277.6
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#29178B
secondary
#ABBF3F
accent
#EE39D2
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #29178B

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

Preview Lab → · Contrast checker → · Palette generator →

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