#29317A#29317A

#29317A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.123 H 273.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#29317A
RGBrgb(41, 49, 122)
HSLhsl(234, 50%, 32%)
HSVhsv(234, 66%, 48%)
CMYKcmyk(66.4%, 59.8%, 0%, 52.2%)
CIE-LABlab(23.91, 21.65, -42.76)
CIE-LCHlch(23.91, 47.93, 296.86°)
OKLaboklab(35.26% 0.0076 -0.123)
OKLCHoklch(35.26% 0.123 273.5)
XYZxyz(5.5245, 4.0727, 18.9036)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29317A #7A7229
analogous
#295A7A #29317A #4A297A
triadic
#29317A #7A2931 #317A29
tetradic
#29317A #7A295A #7A7229 #297A4A
square
#29317A #7A295A #7A7229 #297A4A
split-complementary
#29317A #7A4A29 #5A7A29
monochromatic
#0A0C1E #1A1F4C #29317A #3843A8 #5762C7

Accessibility & contrast

On white

11.57
#29317A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#29317A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29317A
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29317A#FFFFFF#000000##FFFFFF
##29317A1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #29317a;
/* rgb */ color: rgb(41, 49, 122);
/* oklch */ color: oklch(35.3% 0.123 273.5);
Tailwind
colors: {
  custom: {
    50: '#6d69a1',
    500: '#29317a',
    950: '#000000',
  },
}
SCSS
$custom: #29317a;
$custom-light: #6d69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#29317a",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 234.074,
    "s": 49.693,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35257,
    "c": 0.12323,
    "h": 273.5
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#29317A
secondary
#ACA353
accent
#CC4FD9
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #29317A

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

Preview Lab → · Contrast checker → · Palette generator →

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