#29168C#29168C

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

Color values

HEX#29168C
RGBrgb(41, 22, 140)
HSLhsl(250, 73%, 32%)
HSVhsv(250, 84%, 55%)
CMYKcmyk(70.7%, 84.3%, 0%, 45.1%)
CIE-LABlab(19.79, 44.06, -60.85)
CIE-LCHlch(19.79, 75.13, 305.91°)
OKLaboklab(32.84% 0.0235 -0.1758)
OKLCHoklch(32.84% 0.177 277.6)
XYZxyz(5.9335, 2.9382, 25.0603)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29168C #798C16
analogous
#163E8C #29168C #64168C
triadic
#29168C #8C2916 #168C29
tetradic
#29168C #8C163E #798C16 #168C64
square
#29168C #8C163E #798C16 #168C64
split-complementary
#29168C #8C6416 #3E8C16
monochromatic
#0A0522 #1A0E57 #29168C #381EC1 #563CE0

Accessibility & contrast

On white

13.23
#29168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#29168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29168C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29168C#FFFFFF#000000##FFFFFF
##29168C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29168c;
/* rgb */ color: rgb(41, 22, 140);
/* oklch */ color: oklch(32.8% 0.177 277.6);
Tailwind
colors: {
  custom: {
    50: '#7358af',
    500: '#29168c',
    950: '#000000',
  },
}
SCSS
$custom: #29168c;
$custom-light: #7358af;
$custom-dark: #000000;
JSON
{
  "hex": "#29168c",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 249.661,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3284,
    "c": 0.17736,
    "h": 277.6
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#29168C
secondary
#ABC03E
accent
#F038D2
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #29168C

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

Preview Lab → · Contrast checker → · Palette generator →

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