#291D9A#291D9A

#291D9A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.3% C 0.188 H 275.0°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#291D9A
RGBrgb(41, 29, 154)
HSLhsl(246, 68%, 36%)
HSVhsv(246, 81%, 60%)
CMYKcmyk(73.4%, 81.2%, 0%, 39.6%)
CIE-LABlab(22.59, 45.06, -64.89)
CIE-LCHlch(22.59, 79.00, 304.78°)
OKLaboklab(35.26% 0.0165 -0.1876)
OKLCHoklch(35.26% 0.188 275)
XYZxyz(7.1846, 3.6825, 30.8977)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D9A #8E9A1D
analogous
#1D4F9A #291D9A #671D9A
triadic
#291D9A #9A291D #1D9A29
tetradic
#291D9A #9A1D4F #8E9A1D #1D9A67
square
#291D9A #9A1D4F #8E9A1D #1D9A67
split-complementary
#291D9A #9A671D #4F9A1D
monochromatic
#0E0A33 #1B1366 #291D9A #3727CE #6053DF

Accessibility & contrast

On white

12.09
#291D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#291D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D9A
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D9A#FFFFFF#000000##FFFFFF
##291D9A1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003098
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #291d9a;
/* rgb */ color: rgb(41, 29, 154);
/* oklch */ color: oklch(35.3% 0.188 275.0);
Tailwind
colors: {
  custom: {
    50: '#765db9',
    500: '#291d9a',
    950: '#000000',
  },
}
SCSS
$custom: #291d9a;
$custom-light: #765db9;
$custom-dark: #000000;
JSON
{
  "hex": "#291d9a",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 245.76,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3526,
    "c": 0.18835,
    "h": 275
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#291D9A
secondary
#B7C251
accent
#EB3DDA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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