#29319E#29319E

#29319E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.173 H 271.9°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#29319E
RGBrgb(41, 49, 158)
HSLhsl(236, 59%, 39%)
HSVhsv(236, 74%, 62%)
CMYKcmyk(74.1%, 69%, 0%, 38%)
CIE-LABlab(27.12, 34.92, -59.87)
CIE-LCHlch(27.12, 69.31, 300.25°)
OKLaboklab(38.6% 0.0056 -0.1731)
OKLCHoklch(38.6% 0.173 271.9)
XYZxyz(8.1822, 5.1358, 32.9012)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29319E #9E9629
analogous
#296C9E #29319E #5C299E
triadic
#29319E #9E2931 #319E29
tetradic
#29319E #9E296C #9E9629 #299E5C
square
#29319E #9E296C #9E9629 #299E5C
split-complementary
#29319E #9E5C29 #6C9E29
monochromatic
#10133D #1C226D #29319E #3943CC #6971D8

Accessibility & contrast

On white

10.36
#29319E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#29319E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29319E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29319E#FFFFFF#000000##FFFFFF
##29319E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #29319e;
/* rgb */ color: rgb(41, 49, 158);
/* oklch */ color: oklch(38.6% 0.173 271.9);
Tailwind
colors: {
  custom: {
    50: '#7569bc',
    500: '#29319e',
    950: '#000000',
  },
}
SCSS
$custom: #29319e;
$custom-light: #7569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#29319e",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 235.897,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38602,
    "c": 0.17323,
    "h": 271.9
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#29319E
secondary
#BFB864
accent
#D746E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #29319E

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

Preview Lab → · Contrast checker → · Palette generator →

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