#29228C#29228C

#29228C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.166 H 276.0°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#29228C
RGBrgb(41, 34, 140)
HSLhsl(244, 61%, 34%)
HSVhsv(244, 76%, 55%)
CMYKcmyk(70.7%, 75.7%, 0%, 45.1%)
CIE-LABlab(21.97, 37.79, -57.25)
CIE-LCHlch(21.97, 68.60, 303.43°)
OKLaboklab(34.37% 0.0174 -0.1655)
OKLCHoklch(34.37% 0.166 276)
XYZxyz(6.2186, 3.5084, 25.1553)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29228C #858C22
analogous
#22508C #29228C #5E228C
triadic
#29228C #8C2922 #228C29
tetradic
#29228C #8C2250 #858C22 #228C5E
square
#29228C #8C2250 #858C22 #228C5E
split-complementary
#29228C #8C5E22 #508C22
monochromatic
#0C0A2A #1B165B #29228C #372EBD #5C53D5

Accessibility & contrast

On white

12.34
#29228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#29228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29228C
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29228C#FFFFFF#000000##FFFFFF
##29228C1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29228c;
/* rgb */ color: rgb(41, 34, 140);
/* oklch */ color: oklch(34.4% 0.166 276.0);
Tailwind
colors: {
  custom: {
    50: '#725faf',
    500: '#29228c',
    950: '#000000',
  },
}
SCSS
$custom: #29228c;
$custom-light: #725faf;
$custom-dark: #000000;
JSON
{
  "hex": "#29228c",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 243.962,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34365,
    "c": 0.16638,
    "h": 276
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#29228C
secondary
#B2B951
accent
#E444D9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #29228C

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

Preview Lab → · Contrast checker → · Palette generator →

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