#29179D#29179D

#29179D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 35.0% C 0.196 H 275.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#29179D
RGBrgb(41, 23, 157)
HSLhsl(248, 74%, 35%)
HSVhsv(248, 85%, 62%)
CMYKcmyk(73.9%, 85.4%, 0%, 38.4%)
CIE-LABlab(22.01, 48.75, -67.70)
CIE-LCHlch(22.01, 83.42, 305.76°)
OKLaboklab(34.96% 0.0178 -0.1957)
OKLCHoklch(34.96% 0.196 275.2)
XYZxyz(7.3046, 3.5178, 32.1858)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29179D #8B9D17
analogous
#17489D #29179D #6C179D
triadic
#29179D #9D2917 #179D29
tetradic
#29179D #9D1748 #8B9D17 #179D6C
square
#29179D #9D1748 #8B9D17 #179D6C
split-complementary
#29179D #9D6C17 #489D17
monochromatic
#0D0732 #1B0F68 #29179D #371FD2 #5F4AE4

Accessibility & contrast

On white

12.33
#29179D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#29179D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29179D
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29179D#FFFFFF#000000##FFFFFF
##29179D1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA1
Deuteranopia (green-blind)
#002F9B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29179d;
/* rgb */ color: rgb(41, 23, 157);
/* oklch */ color: oklch(35.0% 0.196 275.2);
Tailwind
colors: {
  custom: {
    50: '#775abb',
    500: '#29179d',
    950: '#000000',
  },
}
SCSS
$custom: #29179d;
$custom-light: #775abb;
$custom-dark: #000000;
JSON
{
  "hex": "#29179d",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 157
  },
  "hsl": {
    "h": 248.06,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3496,
    "c": 0.19647,
    "h": 275.2
  },
  "luminance": 0.03519
}

Semantic roles & 50–950 ramp

primary
#29179D
secondary
#B5C64A
accent
#F137D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #29179D

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

Preview Lab → · Contrast checker → · Palette generator →

#29179D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva