#29317E#29317E

#29317E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.129 H 273.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#29317E
RGBrgb(41, 49, 126)
HSLhsl(234, 51%, 33%)
HSVhsv(234, 67%, 49%)
CMYKcmyk(67.5%, 61.1%, 0%, 50.6%)
CIE-LABlab(24.24, 23.15, -44.76)
CIE-LCHlch(24.24, 50.39, 297.35°)
OKLaboklab(35.6% 0.0076 -0.1289)
OKLCHoklch(35.6% 0.129 273.4)
XYZxyz(5.7774, 4.1739, 20.2358)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29317E #7E7629
analogous
#295B7E #29317E #4B297E
triadic
#29317E #7E2931 #317E29
tetradic
#29317E #7E295B #7E7629 #297E4B
square
#29317E #7E295B #7E7629 #297E4B
split-complementary
#29317E #7E4B29 #5B7E29
monochromatic
#0B0D22 #1A1F50 #29317E #3843AC #5963C9

Accessibility & contrast

On white

11.45
#29317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#29317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29317E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29317E#FFFFFF#000000##FFFFFF
##29317E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #29317e;
/* rgb */ color: rgb(41, 49, 126);
/* oklch */ color: oklch(35.6% 0.129 273.4);
Tailwind
colors: {
  custom: {
    50: '#6e69a4',
    500: '#29317e',
    950: '#000000',
  },
}
SCSS
$custom: #29317e;
$custom-light: #6e69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#29317e",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 234.353,
    "s": 50.898,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35603,
    "c": 0.12909,
    "h": 273.4
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#29317E
secondary
#AEA655
accent
#CD4DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #29317E

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

Preview Lab → · Contrast checker → · Palette generator →

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