#291A98#291A98

#291A98 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.188 H 275.6°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#291A98
RGBrgb(41, 26, 152)
HSLhsl(247, 71%, 35%)
HSVhsv(247, 83%, 60%)
CMYKcmyk(73%, 82.9%, 0%, 40.4%)
CIE-LABlab(21.86, 45.89, -64.87)
CIE-LCHlch(21.86, 79.46, 305.28°)
OKLaboklab(34.68% 0.0182 -0.1875)
OKLCHoklch(34.68% 0.188 275.6)
XYZxyz(6.9495, 3.4765, 30.0045)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A98 #89981A
analogous
#1A4A98 #291A98 #681A98
triadic
#291A98 #98291A #1A9829
tetradic
#291A98 #981A4A #89981A #1A9868
square
#291A98 #981A4A #89981A #1A9868
split-complementary
#291A98 #98681A #4A981A
monochromatic
#0D082F #1B1164 #291A98 #3723CC #5E4CE0

Accessibility & contrast

On white

12.39
#291A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#291A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A98
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A98#FFFFFF#000000##FFFFFF
##291A981.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002F96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291a98;
/* rgb */ color: rgb(41, 26, 152);
/* oklch */ color: oklch(34.7% 0.188 275.6);
Tailwind
colors: {
  custom: {
    50: '#765bb8',
    500: '#291a98',
    950: '#000000',
  },
}
SCSS
$custom: #291a98;
$custom-light: #765bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#291a98",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 247.143,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34682,
    "c": 0.18842,
    "h": 275.6
  },
  "luminance": 0.03477
}

Semantic roles & 50–950 ramp

primary
#291A98
secondary
#B4C24B
accent
#EE3AD8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #291A98

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

Preview Lab → · Contrast checker → · Palette generator →

#291A98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva