#29179E#29179E

#29179E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.198 H 275.1°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#29179E
RGBrgb(41, 23, 158)
HSLhsl(248, 75%, 35%)
HSVhsv(248, 85%, 62%)
CMYKcmyk(74.1%, 85.4%, 0%, 38%)
CIE-LABlab(22.13, 49.05, -68.10)
CIE-LCHlch(22.13, 83.93, 305.76°)
OKLaboklab(35.08% 0.0175 -0.1968)
OKLCHoklch(35.08% 0.198 275.1)
XYZxyz(7.3904, 3.5521, 32.6373)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29179E #8C9E17
analogous
#17489E #29179E #6C179E
triadic
#29179E #9E2917 #179E29
tetradic
#29179E #9E1748 #8C9E17 #179E6C
square
#29179E #9E1748 #8C9E17 #179E6C
split-complementary
#29179E #9E6C17 #489E17
monochromatic
#0D0733 #1B0F69 #29179E #371FD3 #5F4BE5

Accessibility & contrast

On white

12.28
#29179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#29179E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29179E
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29179E#FFFFFF#000000##FFFFFF
##29179E1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29179e;
/* rgb */ color: rgb(41, 23, 158);
/* oklch */ color: oklch(35.1% 0.198 275.1);
Tailwind
colors: {
  custom: {
    50: '#775abc',
    500: '#29179e',
    950: '#000000',
  },
}
SCSS
$custom: #29179e;
$custom-light: #775abc;
$custom-dark: #000000;
JSON
{
  "hex": "#29179e",
  "rgb": {
    "r": 41,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 248,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.3508,
    "c": 0.19762,
    "h": 275.1
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#29179E
secondary
#B6C64A
accent
#F137D8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #29179E

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

Preview Lab → · Contrast checker → · Palette generator →

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