#29228F#29228F

#29228F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.170 H 275.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#29228F
RGBrgb(41, 34, 143)
HSLhsl(244, 62%, 35%)
HSVhsv(244, 76%, 56%)
CMYKcmyk(71.3%, 76.2%, 0%, 43.9%)
CIE-LABlab(22.30, 38.80, -58.59)
CIE-LCHlch(22.30, 70.27, 303.52°)
OKLaboklab(34.69% 0.0168 -0.1694)
OKLCHoklch(34.69% 0.17 275.7)
XYZxyz(6.4428, 3.5980, 26.3362)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29228F #888F22
analogous
#22528F #29228F #5F228F
triadic
#29228F #8F2922 #228F29
tetradic
#29228F #8F2252 #888F22 #228F5F
square
#29228F #8F2252 #888F22 #228F5F
split-complementary
#29228F #8F5F22 #528F22
monochromatic
#0D0A2C #1B165E #29228F #372EC0 #5D55D7

Accessibility & contrast

On white

12.21
#29228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#29228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29228F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29228F#FFFFFF#000000##FFFFFF
##29228F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #29228f;
/* rgb */ color: rgb(41, 34, 143);
/* oklch */ color: oklch(34.7% 0.170 275.7);
Tailwind
colors: {
  custom: {
    50: '#735fb1',
    500: '#29228f',
    950: '#000000',
  },
}
SCSS
$custom: #29228f;
$custom-light: #735fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#29228f",
  "rgb": {
    "r": 41,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 243.853,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34688,
    "c": 0.17019,
    "h": 275.7
  },
  "luminance": 0.03599
}

Semantic roles & 50–950 ramp

primary
#29228F
secondary
#B4BA52
accent
#E543DA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #29228F

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

Preview Lab → · Contrast checker → · Palette generator →

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