#29178E#29178E

#29178E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.179 H 277.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#29178E
RGBrgb(41, 23, 142)
HSLhsl(249, 72%, 32%)
HSVhsv(249, 84%, 56%)
CMYKcmyk(71.1%, 83.8%, 0%, 44.3%)
CIE-LABlab(20.19, 44.21, -61.45)
CIE-LCHlch(20.19, 75.70, 305.74°)
OKLaboklab(33.18% 0.0224 -0.1775)
OKLCHoklch(33.18% 0.179 277.2)
XYZxyz(6.1017, 3.0366, 25.8505)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29178E #7C8E17
analogous
#17408E #29178E #65178E
triadic
#29178E #8E2917 #178E29
tetradic
#29178E #8E1740 #7C8E17 #178E65
square
#29178E #8E1740 #7C8E17 #178E65
split-complementary
#29178E #8E6517 #408E17
monochromatic
#0B0625 #1A0E59 #29178E #3820C3 #583FE0

Accessibility & contrast

On white

13.06
#29178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#29178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29178E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29178E#FFFFFF#000000##FFFFFF
##29178E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002C8C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #29178e;
/* rgb */ color: rgb(41, 23, 142);
/* oklch */ color: oklch(33.2% 0.179 277.2);
Tailwind
colors: {
  custom: {
    50: '#7459b0',
    500: '#29178e',
    950: '#000000',
  },
}
SCSS
$custom: #29178e;
$custom-light: #7459b0;
$custom-dark: #000000;
JSON
{
  "hex": "#29178e",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 249.076,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33183,
    "c": 0.17895,
    "h": 277.2
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#29178E
secondary
#ADC040
accent
#EF39D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #29178E

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

Preview Lab → · Contrast checker → · Palette generator →

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