#29317F#29317F

#29317F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.131 H 273.3°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#29317F
RGBrgb(41, 49, 127)
HSLhsl(234, 51%, 33%)
HSVhsv(234, 68%, 50%)
CMYKcmyk(67.7%, 61.4%, 0%, 50.2%)
CIE-LABlab(24.32, 23.53, -45.25)
CIE-LCHlch(24.32, 51.00, 297.47°)
OKLaboklab(35.69% 0.0076 -0.1303)
OKLCHoklch(35.69% 0.131 273.3)
XYZxyz(5.8423, 4.1998, 20.5773)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29317F #7F7729
analogous
#295C7F #29317F #4C297F
triadic
#29317F #7F2931 #317F29
tetradic
#29317F #7F295C #7F7729 #297F4C
square
#29317F #7F295C #7F7729 #297F4C
split-complementary
#29317F #7F4C29 #5C7F29
monochromatic
#0B0D22 #1A1F51 #29317F #3843AD #5963C9

Accessibility & contrast

On white

11.41
#29317F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#29317F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29317F
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29317F#FFFFFF#000000##FFFFFF
##29317F1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #29317f;
/* rgb */ color: rgb(41, 49, 127);
/* oklch */ color: oklch(35.7% 0.131 273.3);
Tailwind
colors: {
  custom: {
    50: '#6e69a5',
    500: '#29317f',
    950: '#000000',
  },
}
SCSS
$custom: #29317f;
$custom-light: #6e69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#29317f",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 127
  },
  "hsl": {
    "h": 234.419,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35691,
    "c": 0.13053,
    "h": 273.3
  },
  "luminance": 0.042
}

Semantic roles & 50–950 ramp

primary
#29317F
secondary
#AFA655
accent
#CD4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #29317F

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

Preview Lab → · Contrast checker → · Palette generator →

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