#29168E#29168E

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

Color values

HEX#29168E
RGBrgb(41, 22, 142)
HSLhsl(250, 73%, 32%)
HSVhsv(250, 85%, 56%)
CMYKcmyk(71.1%, 84.5%, 0%, 44.3%)
CIE-LABlab(20.03, 44.67, -61.70)
CIE-LCHlch(20.03, 76.17, 305.90°)
OKLaboklab(33.08% 0.0228 -0.1783)
OKLCHoklch(33.08% 0.18 277.3)
XYZxyz(6.0823, 2.9977, 25.8440)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29168E #7B8E16
analogous
#163F8E #29168E #65168E
triadic
#29168E #8E2916 #168E29
tetradic
#29168E #8E163F #7B8E16 #168E65
square
#29168E #8E163F #7B8E16 #168E65
split-complementary
#29168E #8E6516 #3F8E16
monochromatic
#0A0624 #1A0E59 #29168E #381EC3 #573DE1

Accessibility & contrast

On white

13.13
#29168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#29168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29168E
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29168E#FFFFFF#000000##FFFFFF
##29168E1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003591
Deuteranopia (green-blind)
#002B8C
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #29168e;
/* rgb */ color: rgb(41, 22, 142);
/* oklch */ color: oklch(33.1% 0.180 277.3);
Tailwind
colors: {
  custom: {
    50: '#7458b0',
    500: '#29168e',
    950: '#000000',
  },
}
SCSS
$custom: #29168e;
$custom-light: #7458b0;
$custom-dark: #000000;
JSON
{
  "hex": "#29168e",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 249.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33076,
    "c": 0.17972,
    "h": 277.3
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#29168E
secondary
#ACC13F
accent
#F038D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #29168E

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

Preview Lab → · Contrast checker → · Palette generator →

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