#29237C#29237C

#29237C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.144 H 277.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#29237C
RGBrgb(41, 35, 124)
HSLhsl(244, 56%, 31%)
HSVhsv(244, 72%, 49%)
CMYKcmyk(66.9%, 71.8%, 0%, 51.4%)
CIE-LABlab(20.55, 31.69, -49.52)
CIE-LCHlch(20.55, 58.79, 302.62°)
OKLaboklab(32.85% 0.0198 -0.1429)
OKLCHoklch(32.85% 0.144 277.9)
XYZxyz(5.1524, 3.1283, 19.3972)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29237C #767C23
analogous
#23497C #29237C #55237C
triadic
#29237C #7C2923 #237C29
tetradic
#29237C #7C2349 #767C23 #237C55
square
#29237C #7C2349 #767C23 #237C55
split-complementary
#29237C #7C5523 #497C23
monochromatic
#09081D #19164C #29237C #3930AC #554DCD

Accessibility & contrast

On white

12.92
#29237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#29237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29237C
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29237C#FFFFFF#000000##FFFFFF
##29237C1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #29237c;
/* rgb */ color: rgb(41, 35, 124);
/* oklch */ color: oklch(32.9% 0.144 277.9);
Tailwind
colors: {
  custom: {
    50: '#6e5fa3',
    500: '#29237c',
    950: '#000000',
  },
}
SCSS
$custom: #29237c;
$custom-light: #6e5fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#29237c",
  "rgb": {
    "r": 41,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 244.045,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32853,
    "c": 0.14426,
    "h": 277.9
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#29237C
secondary
#A8AF4C
accent
#DF49D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #29237C

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

Preview Lab → · Contrast checker → · Palette generator →

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