#29188F#29188F

#29188F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.179 H 276.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#29188F
RGBrgb(41, 24, 143)
HSLhsl(249, 71%, 33%)
HSVhsv(249, 83%, 56%)
CMYKcmyk(71.3%, 83.2%, 0%, 43.9%)
CIE-LABlab(20.47, 44.05, -61.61)
CIE-LCHlch(20.47, 75.74, 305.57°)
OKLaboklab(33.41% 0.0217 -0.178)
OKLCHoklch(33.41% 0.179 276.9)
XYZxyz(6.1974, 3.1073, 26.2544)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#29188F #7E8F18
analogous
#18438F #29188F #64188F
triadic
#29188F #8F2918 #188F29
tetradic
#29188F #8F1843 #7E8F18 #188F64
square
#29188F #8F1843 #7E8F18 #188F64
split-complementary
#29188F #8F6418 #438F18
monochromatic
#0B0626 #1A0F5B #29188F #3821C3 #5942DF

Accessibility & contrast

On white

12.95
#29188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#29188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #29188F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##29188F#FFFFFF#000000##FFFFFF
##29188F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002C8D
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #29188f;
/* rgb */ color: rgb(41, 24, 143);
/* oklch */ color: oklch(33.4% 0.179 276.9);
Tailwind
colors: {
  custom: {
    50: '#7459b1',
    500: '#29188f',
    950: '#000000',
  },
}
SCSS
$custom: #29188f;
$custom-light: #7459b1;
$custom-dark: #000000;
JSON
{
  "hex": "#29188f",
  "rgb": {
    "r": 41,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 248.571,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.17934,
    "h": 276.9
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#29188F
secondary
#AEC043
accent
#EE3AD4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #29188F

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

Preview Lab → · Contrast checker → · Palette generator →

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