#291D7D#291D7D

#291D7D is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.0% C 0.152 H 279.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#291D7D
RGBrgb(41, 29, 125)
HSLhsl(248, 62%, 30%)
HSVhsv(248, 77%, 49%)
CMYKcmyk(67.2%, 76.8%, 0%, 51%)
CIE-LABlab(19.35, 35.65, -52.13)
CIE-LCHlch(19.35, 63.15, 304.37°)
OKLaboklab(32.03% 0.024 -0.1505)
OKLCHoklch(32.03% 0.152 279)
XYZxyz(5.0543, 2.8304, 19.6780)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291D7D #717D1D
analogous
#1D417D #291D7D #591D7D
triadic
#291D7D #7D291D #1D7D29
tetradic
#291D7D #7D1D41 #717D1D #1D7D59
square
#291D7D #7D1D41 #717D1D #1D7D59
split-complementary
#291D7D #7D591D #417D1D
monochromatic
#08061A #19114B #291D7D #3929AF #5441D3

Accessibility & contrast

On white

13.41
#291D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#291D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291D7D
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291D7D#FFFFFF#000000##FFFFFF
##291D7D1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291d7d;
/* rgb */ color: rgb(41, 29, 125);
/* oklch */ color: oklch(32.0% 0.152 279.0);
Tailwind
colors: {
  custom: {
    50: '#6f5ba4',
    500: '#291d7d',
    950: '#000000',
  },
}
SCSS
$custom: #291d7d;
$custom-light: #6f5ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#291d7d",
  "rgb": {
    "r": 41,
    "g": 29,
    "b": 125
  },
  "hsl": {
    "h": 247.5,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3203,
    "c": 0.15238,
    "h": 279
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#291D7D
secondary
#A3B145
accent
#E542D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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