#29228E#29228E

#29228E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.169 H 275.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#29228E
RGBrgb(41, 34, 142)
HSLhsl(244, 61%, 35%)
HSVhsv(244, 76%, 56%)
CMYKcmyk(71.1%, 76.1%, 0%, 44.3%)
CIE-LABlab(22.19, 38.47, -58.14)
CIE-LCHlch(22.19, 69.71, 303.49°)
OKLaboklab(34.58% 0.017 -0.1681)
OKLCHoklch(34.58% 0.169 275.8)
XYZxyz(6.3674, 3.5679, 25.9390)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29228E #878E22
analogous
#22518E #29228E #5F228E
triadic
#29228E #8E2922 #228E29
tetradic
#29228E #8E2251 #878E22 #228E5F
square
#29228E #8E2251 #878E22 #228E5F
split-complementary
#29228E #8E5F22 #518E22
monochromatic
#0C0A2B #1B165D #29228E #372EBF #5D54D6

Accessibility & contrast

On white

12.25
#29228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#29228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29228E
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29228E#FFFFFF#000000##FFFFFF
##29228E1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29228e;
/* rgb */ color: rgb(41, 34, 142);
/* oklch */ color: oklch(34.6% 0.169 275.8);
Tailwind
colors: {
  custom: {
    50: '#735fb0',
    500: '#29228e',
    950: '#000000',
  },
}
SCSS
$custom: #29228e;
$custom-light: #735fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#29228e",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 243.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3458,
    "c": 0.16893,
    "h": 275.8
  },
  "luminance": 0.03568
}

Semantic roles & 50–950 ramp

primary
#29228E
secondary
#B3BA52
accent
#E443DA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #29228E

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

Preview Lab → · Contrast checker → · Palette generator →

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