#29316C#29316C

#29316C is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.102 H 273.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#29316C
RGBrgb(41, 49, 108)
HSLhsl(233, 45%, 29%)
HSVhsv(233, 62%, 42%)
CMYKcmyk(62%, 54.6%, 0%, 57.6%)
CIE-LABlab(22.83, 16.40, -35.56)
CIE-LCHlch(22.83, 39.16, 294.76°)
OKLaboklab(34.1% 0.0069 -0.1018)
OKLCHoklch(34.1% 0.102 273.9)
XYZxyz(4.7187, 3.7504, 14.6597)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29316C #6C6429
analogous
#29536C #29316C #43296C
triadic
#29316C #6C2931 #316C29
tetradic
#29316C #6C2953 #6C6429 #296C43
square
#29316C #6C2953 #6C6429 #296C43
split-complementary
#29316C #6C4329 #536C29
monochromatic
#080A16 #181D40 #29316C #3A4598 #525FBD

Accessibility & contrast

On white

12.00
#29316C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#29316C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29316C
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29316C#FFFFFF#000000##FFFFFF
##29316C1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396E
Deuteranopia (green-blind)
#01346B
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #29316c;
/* rgb */ color: rgb(41, 49, 108);
/* oklch */ color: oklch(34.1% 0.102 273.9);
Tailwind
colors: {
  custom: {
    50: '#6a6896',
    500: '#29316c',
    950: '#000000',
  },
}
SCSS
$custom: #29316c;
$custom-light: #6a6896;
$custom-dark: #000000;
JSON
{
  "hex": "#29316c",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 232.836,
    "s": 44.966,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34103,
    "c": 0.10204,
    "h": 273.9
  },
  "luminance": 0.03751
}

Semantic roles & 50–950 ramp

primary
#29316C
secondary
#9E9553
accent
#C553D5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #29316C

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

Preview Lab → · Contrast checker → · Palette generator →

#29316C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva