#29319F#29319F

#29319F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.175 H 271.8°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#29319F
RGBrgb(41, 49, 159)
HSLhsl(236, 59%, 39%)
HSVhsv(236, 74%, 62%)
CMYKcmyk(74.2%, 69.2%, 0%, 37.6%)
CIE-LABlab(27.21, 35.28, -60.32)
CIE-LCHlch(27.21, 69.88, 300.32°)
OKLaboklab(38.7% 0.0055 -0.1745)
OKLCHoklch(38.7% 0.175 271.8)
XYZxyz(8.2687, 5.1704, 33.3564)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29319F #9F9729
analogous
#296C9F #29319F #5C299F
triadic
#29319F #9F2931 #319F29
tetradic
#29319F #9F296C #9F9729 #299F5C
square
#29319F #9F296C #9F9729 #299F5C
split-complementary
#29319F #9F5C29 #6C9F29
monochromatic
#10133E #1C226E #29319F #3943CC #6A71D9

Accessibility & contrast

On white

10.32
#29319F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29319F
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29319F#FFFFFF#000000##FFFFFF
##29319F1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #29319f;
/* rgb */ color: rgb(41, 49, 159);
/* oklch */ color: oklch(38.7% 0.175 271.8);
Tailwind
colors: {
  custom: {
    50: '#7569bc',
    500: '#29319f',
    950: '#000000',
  },
}
SCSS
$custom: #29319f;
$custom-light: #7569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#29319f",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 159
  },
  "hsl": {
    "h": 235.932,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38701,
    "c": 0.17455,
    "h": 271.8
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#29319F
secondary
#BFB965
accent
#D846E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #29319F

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

Preview Lab → · Contrast checker → · Palette generator →

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