#29228B#29228B

#29228B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.165 H 276.1°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#29228B
RGBrgb(41, 34, 139)
HSLhsl(244, 61%, 34%)
HSVhsv(244, 76%, 55%)
CMYKcmyk(70.5%, 75.5%, 0%, 45.5%)
CIE-LABlab(21.87, 37.45, -56.80)
CIE-LCHlch(21.87, 68.04, 303.40°)
OKLaboklab(34.26% 0.0177 -0.1642)
OKLCHoklch(34.26% 0.165 276.1)
XYZxyz(6.1452, 3.4790, 24.7688)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29228B #848B22
analogous
#22508B #29228B #5E228B
triadic
#29228B #8B2922 #228B29
tetradic
#29228B #8B2250 #848B22 #228B5E
square
#29228B #8B2250 #848B22 #228B5E
split-complementary
#29228B #8B5E22 #508B22
monochromatic
#0C0A29 #1A165A #29228B #382EBC #5B53D5

Accessibility & contrast

On white

12.38
#29228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #29228B
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29228B#FFFFFF#000000##FFFFFF
##29228B1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#003089
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #29228b;
/* rgb */ color: rgb(41, 34, 139);
/* oklch */ color: oklch(34.3% 0.165 276.1);
Tailwind
colors: {
  custom: {
    50: '#725fae',
    500: '#29228b',
    950: '#000000',
  },
}
SCSS
$custom: #29228b;
$custom-light: #725fae;
$custom-dark: #000000;
JSON
{
  "hex": "#29228b",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 244,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34258,
    "c": 0.16511,
    "h": 276.1
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#29228B
secondary
#B2B850
accent
#E444D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #29228B

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

Preview Lab → · Contrast checker → · Palette generator →

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