#29198C#29198C

#29198C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.175 H 277.3°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#29198C
RGBrgb(41, 25, 140)
HSLhsl(248, 70%, 32%)
HSVhsv(248, 82%, 55%)
CMYKcmyk(70.7%, 82.1%, 0%, 45.1%)
CIE-LABlab(20.28, 42.64, -60.05)
CIE-LCHlch(20.28, 73.64, 305.38°)
OKLaboklab(33.18% 0.0222 -0.1735)
OKLCHoklch(33.18% 0.175 277.3)
XYZxyz(5.9942, 3.0596, 25.0805)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29198C #7C8C19
analogous
#19428C #29198C #63198C
triadic
#29198C #8C2919 #198C29
tetradic
#29198C #8C1942 #7C8C19 #198C63
square
#29198C #8C1942 #7C8C19 #198C63
split-complementary
#29198C #8C6319 #428C19
monochromatic
#0B0624 #1A1058 #29198C #3822C0 #5842DD

Accessibility & contrast

On white

13.03
#29198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#29198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29198C
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29198C#FFFFFF#000000##FFFFFF
##29198C1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #29198c;
/* rgb */ color: rgb(41, 25, 140);
/* oklch */ color: oklch(33.2% 0.175 277.3);
Tailwind
colors: {
  custom: {
    50: '#735aaf',
    500: '#29198c',
    950: '#000000',
  },
}
SCSS
$custom: #29198c;
$custom-light: #735aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#29198c",
  "rgb": {
    "r": 41,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 248.348,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33177,
    "c": 0.17492,
    "h": 277.3
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#29198C
secondary
#ADBE43
accent
#ED3BD4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#090411
muted
#7B7980

Preview Lab

Preview with #29198C

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

Preview Lab → · Contrast checker → · Palette generator →

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