#29218F#29218F

#29218F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.171 H 275.8°. Best body text is #FFFFFF at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#29218F
RGBrgb(41, 33, 143)
HSLhsl(244, 63%, 35%)
HSVhsv(244, 77%, 56%)
CMYKcmyk(71.3%, 76.9%, 0%, 43.9%)
CIE-LABlab(22.09, 39.37, -58.92)
CIE-LCHlch(22.09, 70.86, 303.75°)
OKLaboklab(34.55% 0.0174 -0.1703)
OKLCHoklch(34.55% 0.171 275.8)
XYZxyz(6.4146, 3.5417, 26.3268)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29218F #878F21
analogous
#21508F #29218F #60218F
triadic
#29218F #8F2921 #218F29
tetradic
#29218F #8F2150 #878F21 #218F60
square
#29218F #8F2150 #878F21 #218F60
split-complementary
#29218F #8F6021 #508F21
monochromatic
#0C0A2C #1B165D #29218F #372CC1 #5D53D7

Accessibility & contrast

On white

12.29
#29218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#29218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29218F
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29218F#FFFFFF#000000##FFFFFF
##29218F1.0012.291.7112.29
#FFFFFF12.291.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #29218f;
/* rgb */ color: rgb(41, 33, 143);
/* oklch */ color: oklch(34.5% 0.171 275.8);
Tailwind
colors: {
  custom: {
    50: '#735eb1',
    500: '#29218f',
    950: '#000000',
  },
}
SCSS
$custom: #29218f;
$custom-light: #735eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#29218f",
  "rgb": {
    "r": 41,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 244.364,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34546,
    "c": 0.1712,
    "h": 275.8
  },
  "luminance": 0.03542
}

Semantic roles & 50–950 ramp

primary
#29218F
secondary
#B3BB51
accent
#E642DA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #29218F

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

Preview Lab → · Contrast checker → · Palette generator →

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