#29198F#29198F

#29198F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.179 H 276.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#29198F
RGBrgb(41, 25, 143)
HSLhsl(248, 70%, 33%)
HSVhsv(248, 83%, 56%)
CMYKcmyk(71.3%, 82.5%, 0%, 43.9%)
CIE-LABlab(20.63, 43.58, -61.34)
CIE-LCHlch(20.63, 75.24, 305.39°)
OKLaboklab(33.52% 0.0213 -0.1772)
OKLCHoklch(33.52% 0.179 276.8)
XYZxyz(6.2184, 3.1493, 26.2614)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29198F #7F8F19
analogous
#19448F #29198F #64198F
triadic
#29198F #8F2919 #198F29
tetradic
#29198F #8F1944 #7F8F19 #198F64
square
#29198F #8F1944 #7F8F19 #198F64
split-complementary
#29198F #8F6419 #448F19
monochromatic
#0B0727 #1A105B #29198F #3822C3 #5944DE

Accessibility & contrast

On white

12.88
#29198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#29198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29198F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29198F#FFFFFF#000000##FFFFFF
##29198F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002D8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #29198f;
/* rgb */ color: rgb(41, 25, 143);
/* oklch */ color: oklch(33.5% 0.179 276.8);
Tailwind
colors: {
  custom: {
    50: '#745ab1',
    500: '#29198f',
    950: '#000000',
  },
}
SCSS
$custom: #29198f;
$custom-light: #745ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#29198f",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 248.136,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33523,
    "c": 0.17852,
    "h": 276.8
  },
  "luminance": 0.0315
}

Semantic roles & 50–950 ramp

primary
#29198F
secondary
#AFBF44
accent
#ED3BD5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #29198F

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

Preview Lab → · Contrast checker → · Palette generator →

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