#29178D#29178D

#29178D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.1% C 0.178 H 277.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#29178D
RGBrgb(41, 23, 141)
HSLhsl(249, 72%, 32%)
HSVhsv(249, 84%, 55%)
CMYKcmyk(70.9%, 83.7%, 0%, 44.7%)
CIE-LABlab(20.07, 43.91, -61.02)
CIE-LCHlch(20.07, 75.17, 305.74°)
OKLaboklab(33.07% 0.0227 -0.1763)
OKLCHoklch(33.07% 0.178 277.3)
XYZxyz(6.0270, 3.0068, 25.4569)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29178D #7B8D17
analogous
#17408D #29178D #64178D
triadic
#29178D #8D2917 #178D29
tetradic
#29178D #8D1740 #7B8D17 #178D64
square
#29178D #8D1740 #7B8D17 #178D64
split-complementary
#29178D #8D6417 #408D17
monochromatic
#0A0624 #1A0E58 #29178D #3820C2 #573FE0

Accessibility & contrast

On white

13.11
#29178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29178D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29178D#FFFFFF#000000##FFFFFF
##29178D1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#002B8B
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #29178d;
/* rgb */ color: rgb(41, 23, 141);
/* oklch */ color: oklch(33.1% 0.178 277.3);
Tailwind
colors: {
  custom: {
    50: '#7359b0',
    500: '#29178d',
    950: '#000000',
  },
}
SCSS
$custom: #29178d;
$custom-light: #7359b0;
$custom-dark: #000000;
JSON
{
  "hex": "#29178d",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 249.153,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33066,
    "c": 0.17776,
    "h": 277.3
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #29178D

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

Preview Lab → · Contrast checker → · Palette generator →

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