#29168F#29168F

#29168F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.2% C 0.181 H 277.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#29168F
RGBrgb(41, 22, 143)
HSLhsl(249, 73%, 32%)
HSVhsv(249, 85%, 56%)
CMYKcmyk(71.3%, 84.6%, 0%, 43.9%)
CIE-LABlab(20.15, 44.98, -62.13)
CIE-LCHlch(20.15, 76.70, 305.90°)
OKLaboklab(33.19% 0.0225 -0.1795)
OKLCHoklch(33.19% 0.181 277.1)
XYZxyz(6.1577, 3.0278, 26.2412)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29168F #7C8F16
analogous
#16408F #29168F #65168F
triadic
#29168F #8F2916 #168F29
tetradic
#29168F #8F1640 #7C8F16 #168F65
square
#29168F #8F1640 #7C8F16 #168F65
split-complementary
#29168F #8F6516 #408F16
monochromatic
#0B0625 #1A0E5A #29168F #381EC4 #583EE1

Accessibility & contrast

On white

13.08
#29168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#29168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29168F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29168F#FFFFFF#000000##FFFFFF
##29168F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29168f;
/* rgb */ color: rgb(41, 22, 143);
/* oklch */ color: oklch(33.2% 0.181 277.1);
Tailwind
colors: {
  custom: {
    50: '#7458b1',
    500: '#29168f',
    950: '#000000',
  },
}
SCSS
$custom: #29168f;
$custom-light: #7458b1;
$custom-dark: #000000;
JSON
{
  "hex": "#29168f",
  "rgb": {
    "r": 41,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 249.421,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33194,
    "c": 0.1809,
    "h": 277.1
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#29168F
secondary
#ADC13F
accent
#F038D3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #29168F

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

Preview Lab → · Contrast checker → · Palette generator →

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