#29318C#29318C

#29318C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.149 H 272.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#29318C
RGBrgb(41, 49, 140)
HSLhsl(235, 55%, 35%)
HSVhsv(235, 71%, 55%)
CMYKcmyk(70.7%, 65%, 0%, 45.1%)
CIE-LABlab(25.45, 28.36, -51.55)
CIE-LCHlch(25.45, 58.84, 298.82°)
OKLaboklab(36.87% 0.0072 -0.1488)
OKLCHoklch(36.87% 0.149 272.8)
XYZxyz(6.7448, 4.5609, 25.3307)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29318C #8C8429
analogous
#29628C #29318C #53298C
triadic
#29318C #8C2931 #318C29
tetradic
#29318C #8C2962 #8C8429 #298C53
square
#29318C #8C2962 #8C8429 #298C53
split-complementary
#29318C #8C5329 #628C29
monochromatic
#0D102D #1B205D #29318C #3742BB #5F68D0

Accessibility & contrast

On white

10.98
#29318C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#29318C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29318C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29318C#FFFFFF#000000##FFFFFF
##29318C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #29318c;
/* rgb */ color: rgb(41, 49, 140);
/* oklch */ color: oklch(36.9% 0.149 272.8);
Tailwind
colors: {
  custom: {
    50: '#7169ae',
    500: '#29318c',
    950: '#000000',
  },
}
SCSS
$custom: #29318c;
$custom-light: #7169ae;
$custom-dark: #000000;
JSON
{
  "hex": "#29318c",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 235.152,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36869,
    "c": 0.14896,
    "h": 272.8
  },
  "luminance": 0.04561
}

Semantic roles & 50–950 ramp

primary
#29318C
secondary
#B6AE5B
accent
#D24ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #29318C

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

Preview Lab → · Contrast checker → · Palette generator →

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